(pytester: pytest.Pytester)
| 88 | |
| 89 | |
| 90 | def test_fixturerequest_getmodulepath(pytester: pytest.Pytester) -> None: |
| 91 | modcol = pytester.getmodulecol("def test_somefunc(): pass") |
| 92 | (item,) = pytester.genitems([modcol]) |
| 93 | req = pytest.FixtureRequest(item, _ispytest=True) |
| 94 | assert req.path == modcol.path |
| 95 | assert req.fspath == modcol.fspath # type: ignore[attr-defined] |
| 96 | |
| 97 | |
| 98 | class TestFixtureRequestSessionScoped: |
nothing calls this directly
no test coverage detected