(self, pytester: Pytester)
| 543 | result.stdout.fnmatch_lines(["*raise ValueError*", "*1 error*"]) |
| 544 | |
| 545 | def test_collectonly_fatal(self, pytester: Pytester) -> None: |
| 546 | pytester.makeconftest( |
| 547 | """ |
| 548 | def pytest_collectstart(collector): |
| 549 | assert 0, "urgs" |
| 550 | """ |
| 551 | ) |
| 552 | result = pytester.runpytest("--collect-only") |
| 553 | result.stdout.fnmatch_lines(["*INTERNAL*args*"]) |
| 554 | assert result.ret == 3 |
| 555 | |
| 556 | def test_collectonly_simple(self, pytester: Pytester) -> None: |
| 557 | p = pytester.makepyfile( |
nothing calls this directly
no test coverage detected