(pytester: Pytester)
| 233 | |
| 234 | |
| 235 | def test_monkeypatch_plugin(pytester: Pytester) -> None: |
| 236 | reprec = pytester.inline_runsource( |
| 237 | """ |
| 238 | def test_method(monkeypatch): |
| 239 | assert monkeypatch.__class__.__name__ == "MonkeyPatch" |
| 240 | """ |
| 241 | ) |
| 242 | res = reprec.countoutcomes() |
| 243 | assert tuple(res) == (1, 0, 0), res |
| 244 | |
| 245 | |
| 246 | def test_syspath_prepend(mp: MonkeyPatch) -> None: |
nothing calls this directly
no test coverage detected