(pytester: Pytester)
| 81 | |
| 82 | |
| 83 | def test_pytester_runs_with_plugin(pytester: Pytester) -> None: |
| 84 | pytester.makepyfile( |
| 85 | """ |
| 86 | pytest_plugins = "pytester" |
| 87 | def test_hello(pytester): |
| 88 | assert 1 |
| 89 | """ |
| 90 | ) |
| 91 | result = pytester.runpytest() |
| 92 | result.assert_outcomes(passed=1) |
| 93 | |
| 94 | |
| 95 | def test_pytester_with_doctest(pytester: Pytester) -> None: |
nothing calls this directly
no test coverage detected