(
self, tmp_path: Path, monkeypatch: MonkeyPatch
)
| 1463 | assert inipath is None |
| 1464 | |
| 1465 | def test_with_existing_file_in_subdir( |
| 1466 | self, tmp_path: Path, monkeypatch: MonkeyPatch |
| 1467 | ) -> None: |
| 1468 | a = tmp_path / "a" |
| 1469 | a.mkdir() |
| 1470 | (a / "exists").touch() |
| 1471 | monkeypatch.chdir(tmp_path) |
| 1472 | rootpath, inipath, _ = determine_setup(None, ["a/exist"]) |
| 1473 | assert rootpath == tmp_path |
| 1474 | assert inipath is None |
| 1475 | |
| 1476 | def test_with_config_also_in_parent_directory( |
| 1477 | self, tmp_path: Path, monkeypatch: MonkeyPatch |
nothing calls this directly
no test coverage detected