drop unused clan_data_dir

This commit is contained in:
Jörg Thalheim
2023-11-10 12:53:13 +01:00
parent 48d7968cf9
commit 2924e3e912
2 changed files with 0 additions and 18 deletions

View File

@@ -22,7 +22,6 @@ def temporary_home(monkeypatch: pytest.MonkeyPatch) -> Iterator[Path]:
with tempfile.TemporaryDirectory(prefix="pytest-") as dirpath:
monkeypatch.setenv("HOME", str(dirpath))
monkeypatch.setenv("XDG_CONFIG_HOME", str(Path(dirpath) / ".config"))
monkeypatch.setenv("XDG_DATA_HOME", str(Path(dirpath) / ".local/share"))
monkeypatch.chdir(str(dirpath))
log.debug("Temp HOME directory: %s", str(dirpath))
yield Path(dirpath)