Beispiel #1
0
def test_main_print_config():
    with pytest.raises(SystemExit):
        AbsTask.main(cmd=["--print_config"])
Beispiel #2
0
def test_main_with_no_args():
    with pytest.raises(SystemExit):
        AbsTask.main(cmd=[])
Beispiel #3
0
def test_main_help():
    with pytest.raises(SystemExit):
        AbsTask.main(cmd=["--help"])