MCPcopy Create free account
hub / github.com/pytest-dev/pytest / schema

Function schema

testing/test_junitxml.py:28–32  ·  view source on GitHub ↗

Return an xmlschema.XMLSchema object for the junit-10.xsd file.

()

Source from the content-addressed store, hash-verified

26
27@pytest.fixture(scope="session")
28def schema() -> xmlschema.XMLSchema:
29 """Return an xmlschema.XMLSchema object for the junit-10.xsd file."""
30 fn = Path(__file__).parent / "example_scripts/junit-10.xsd"
31 with fn.open() as f:
32 return xmlschema.XMLSchema(f)
33
34
35class RunAndParse:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected