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