(pytester: Pytester)
| 109 | |
| 110 | |
| 111 | def test_debug(pytester: Pytester) -> None: |
| 112 | result = pytester.runpytest_subprocess("--debug") |
| 113 | assert result.ret == ExitCode.NO_TESTS_COLLECTED |
| 114 | p = pytester.path.joinpath("pytestdebug.log") |
| 115 | assert "pytest_sessionstart" in p.read_text("utf-8") |
| 116 | |
| 117 | |
| 118 | def test_PYTEST_DEBUG(pytester: Pytester, monkeypatch) -> None: |
nothing calls this directly
no test coverage detected