(
self, tmp_path: Path, monkeypatch: MonkeyPatch
)
| 2119 | assert inipath is None |
| 2120 | |
| 2121 | def test_with_existing_file_in_subdir( |
| 2122 | self, tmp_path: Path, monkeypatch: MonkeyPatch |
| 2123 | ) -> None: |
| 2124 | a = tmp_path / "a" |
| 2125 | a.mkdir() |
| 2126 | (a / "exists").touch() |
| 2127 | monkeypatch.chdir(tmp_path) |
| 2128 | rootpath, inipath, *_ = determine_setup( |
| 2129 | inifile=None, |
| 2130 | override_ini=None, |
| 2131 | args=["a/exist"], |
| 2132 | rootdir_cmd_arg=None, |
| 2133 | invocation_dir=Path.cwd(), |
| 2134 | ) |
| 2135 | assert rootpath == tmp_path |
| 2136 | assert inipath is None |
| 2137 | |
| 2138 | def test_with_config_also_in_parent_directory( |
| 2139 | self, tmp_path: Path, monkeypatch: MonkeyPatch |
nothing calls this directly
no test coverage detected