(
self, tmp_path: Path, name: str, contents: str
)
| 1400 | ], |
| 1401 | ) |
| 1402 | def test_with_specific_inifile( |
| 1403 | self, tmp_path: Path, name: str, contents: str |
| 1404 | ) -> None: |
| 1405 | p = tmp_path / name |
| 1406 | p.touch() |
| 1407 | p.write_text(contents, "utf-8") |
| 1408 | rootpath, inipath, ini_config = determine_setup(str(p), [str(tmp_path)]) |
| 1409 | assert rootpath == tmp_path |
| 1410 | assert inipath == p |
| 1411 | assert ini_config == {"x": "10"} |
| 1412 | |
| 1413 | def test_explicit_config_file_sets_rootdir( |
| 1414 | self, tmp_path: Path, monkeypatch: pytest.MonkeyPatch |
nothing calls this directly
no test coverage detected