Beispiel #1
0
def test_run_sysexit(argv):
    with buildenv(argv=argv):
        run()
Beispiel #2
0
def test_run_by_config(cfg):
    with buildenv(argv=['-c', cfg]):
        run()
Beispiel #3
0
def test_run_by_argv(argv, capsys):
    with buildenv(argv=argv):
        run()
Beispiel #4
0
def test_deprecated(argv):
    with buildenv(argv=argv):
        with pytest.warns(GenPACDeprecationWarning):
            run()
Beispiel #5
0
def test_deprecated(argv):
    with buildenv(argv=argv):
        with pytest.warns(GenPACDeprecationWarning):
            run()
Beispiel #6
0
def test_run_sysexit(argv):
    with buildenv(argv=argv):
        run()
Beispiel #7
0
def test_run_by_argv(argv, capsys):
    with buildenv(argv=argv):
        run()
Beispiel #8
0
def test_run_by_config(cfg):
    with buildenv(argv=['-c', cfg]):
        run()