(pytester: Pytester)
| 260 | |
| 261 | |
| 262 | def test_monkeypatch_plugin(pytester: Pytester) -> None: |
| 263 | reprec = pytester.inline_runsource( |
| 264 | """ |
| 265 | def test_method(monkeypatch): |
| 266 | assert monkeypatch.__class__.__name__ == "MonkeyPatch" |
| 267 | """ |
| 268 | ) |
| 269 | res = reprec.countoutcomes() |
| 270 | assert tuple(res) == (1, 0, 0), res |
| 271 | |
| 272 | |
| 273 | def test_syspath_prepend(mp: MonkeyPatch) -> None: |
nothing calls this directly
no test coverage detected
searching dependent graphs…