(self, pytester: Pytester)
| 418 | ) |
| 419 | |
| 420 | def test_collectonly_skipped_module(self, pytester: Pytester) -> None: |
| 421 | pytester.makepyfile( |
| 422 | """ |
| 423 | import pytest |
| 424 | pytest.skip("hello") |
| 425 | """ |
| 426 | ) |
| 427 | result = pytester.runpytest("--collect-only", "-rs") |
| 428 | result.stdout.fnmatch_lines(["*ERROR collecting*"]) |
| 429 | |
| 430 | def test_collectonly_displays_test_description( |
| 431 | self, pytester: Pytester, dummy_yaml_custom_test |
nothing calls this directly
no test coverage detected