(self, pytester: Pytester)
| 1146 | ) |
| 1147 | |
| 1148 | def test_request_getmodulepath(self, pytester: Pytester) -> None: |
| 1149 | modcol = pytester.getmodulecol("def test_somefunc(): pass") |
| 1150 | (item,) = pytester.genitems([modcol]) |
| 1151 | assert isinstance(item, Function) |
| 1152 | req = TopRequest(item, _ispytest=True) |
| 1153 | assert req.path == modcol.path |
| 1154 | |
| 1155 | def test_request_fixturenames(self, pytester: Pytester) -> None: |
| 1156 | pytester.makepyfile( |
nothing calls this directly
no test coverage detected