Fixture that returns a function that can be used to execute pytest and return the parsed ``DomNode`` of the root xml node. The ``family`` parameter is used to configure the ``junit_family`` of the written report. "xunit2" is also automatically validated against the schema.
(pytester: Pytester, schema: xmlschema.XMLSchema)
| 63 | |
| 64 | @pytest.fixture |
| 65 | def run_and_parse(pytester: Pytester, schema: xmlschema.XMLSchema) -> RunAndParse: |
| 66 | """Fixture that returns a function that can be used to execute pytest and |
| 67 | return the parsed ``DomNode`` of the root xml node. |
| 68 | |
| 69 | The ``family`` parameter is used to configure the ``junit_family`` of the written report. |
| 70 | "xunit2" is also automatically validated against the schema. |
| 71 | """ |
| 72 | return RunAndParse(pytester, schema) |
| 73 | |
| 74 | |
| 75 | def assert_attr(node: minidom.Element, **kwargs: object) -> None: |
no test coverage detected