(pytester: Pytester)
| 294 | |
| 295 | |
| 296 | def test_assert_outcomes_after_pytest_error(pytester: Pytester) -> None: |
| 297 | pytester.makepyfile("def test_foo(): assert True") |
| 298 | |
| 299 | result = pytester.runpytest("--unexpected-argument") |
| 300 | with pytest.raises(ValueError, match="Pytest terminal summary report not found"): |
| 301 | result.assert_outcomes(passed=0) |
| 302 | |
| 303 | |
| 304 | def test_cwd_snapshot(pytester: Pytester) -> None: |
nothing calls this directly
no test coverage detected