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