(self)
| 13 | |
| 14 | class ParseTestDataSuite(Suite): |
| 15 | def test_parse_invalid_case(self) -> None: |
| 16 | # Act |
| 17 | result = _run_pytest(""" |
| 18 | [case abc] |
| 19 | s: str |
| 20 | [case foo-XFAIL] |
| 21 | s: str |
| 22 | """) |
| 23 | |
| 24 | # Assert |
| 25 | assert "Invalid testcase id 'foo-XFAIL'" in result.stdout |
| 26 | |
| 27 | def test_parse_invalid_section(self) -> None: |
| 28 | # Act |
nothing calls this directly
no test coverage detected