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