(self, pytester: Pytester)
| 232 | assert len(colfail) == 1 |
| 233 | |
| 234 | def test_minus_x_import_error(self, pytester: Pytester) -> None: |
| 235 | pytester.makepyfile(__init__="") |
| 236 | pytester.makepyfile(test_one="xxxx", test_two="yyyy") |
| 237 | reprec = pytester.inline_run("-x", pytester.path) |
| 238 | finished = reprec.getreports("pytest_collectreport") |
| 239 | colfail = [x for x in finished if x.failed] |
| 240 | assert len(colfail) == 1 |
| 241 | |
| 242 | def test_minus_x_overridden_by_maxfail(self, pytester: Pytester) -> None: |
| 243 | pytester.makepyfile(__init__="") |
nothing calls this directly
no test coverage detected