(self, pytester: Pytester)
| 108 | class TestResolveCollectionArgument: |
| 109 | @pytest.fixture |
| 110 | def invocation_path(self, pytester: Pytester) -> Path: |
| 111 | pytester.syspathinsert(pytester.path / "src") |
| 112 | pytester.chdir() |
| 113 | |
| 114 | pkg = pytester.path.joinpath("src/pkg") |
| 115 | pkg.mkdir(parents=True) |
| 116 | pkg.joinpath("__init__.py").touch() |
| 117 | pkg.joinpath("test.py").touch() |
| 118 | return pytester.path |
| 119 | |
| 120 | def test_file(self, invocation_path: Path) -> None: |
| 121 | """File and parts.""" |
nothing calls this directly
no test coverage detected