(self, pytester: Pytester)
| 461 | result.stdout.fnmatch_lines(["*raise ValueError*", "*1 error*"]) |
| 462 | |
| 463 | def test_collectonly_fatal(self, pytester: Pytester) -> None: |
| 464 | pytester.makeconftest( |
| 465 | """ |
| 466 | def pytest_collectstart(collector): |
| 467 | assert 0, "urgs" |
| 468 | """ |
| 469 | ) |
| 470 | result = pytester.runpytest("--collect-only") |
| 471 | result.stdout.fnmatch_lines(["*INTERNAL*args*"]) |
| 472 | assert result.ret == 3 |
| 473 | |
| 474 | def test_collectonly_simple(self, pytester: Pytester) -> None: |
| 475 | p = pytester.makepyfile( |
nothing calls this directly
no test coverage detected