MCPcopy Create free account
hub / github.com/LaunchPlatform/beanhub-cli / test_file_does_not_exist

Function test_file_does_not_exist

tests/forms/test_validator.py:58–62  ·  view source on GitHub ↗
(tmp_path: pathlib.Path)

Source from the content-addressed store, hash-verified

56
57
58def test_file_does_not_exist(tmp_path: pathlib.Path):
59 doc_file = tmp_path / "does-not-exists.yaml"
60 with pytest.raises(ValueError) as exc:
61 validate_doc(doc_file)
62 assert exc.value.args[0] == f"Form document at {doc_file} does not exist"
63
64
65@pytest.mark.parametrize(

Callers

nothing calls this directly

Calls 1

validate_docFunction · 0.90

Tested by

no test coverage detected