Exemplo n.º 1
0
def test_run_errors_without_valiations():
    with pytest.raises(ValueError):
        run.run_tests([], config="config")
Exemplo n.º 2
0
def test_run_works_with_config():
    name = "http://127.0.0.1/version"
    validation = HttpValidation.get(name)
    run.run_tests([validation], config="config",
                  config_path="path", environment_name="stg")
Exemplo n.º 3
0
def test_run_works_without_config():
    name = "http://127.0.0.1/version"
    validation = HttpValidation.get(name)
    run.run_tests([validation])
Exemplo n.º 4
0
def test_run_errors_without_valiations():
    with pytest.raises(ValueError):
        run.run_tests([], config="config")
Exemplo n.º 5
0
def test_run_works_with_config():
    name = "http://127.0.0.1/version"
    validation = HttpValidation.get(name)
    run.run_tests([validation], config="config",
                  config_path="path", environment_name="stg")
Exemplo n.º 6
0
def test_run_works_without_config():
    name = "http://127.0.0.1/version"
    validation = HttpValidation.get(name)
    run.run_tests([validation])