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