tests/clan-flake: yield flake path rather than homedir

This commit is contained in:
Jörg Thalheim
2023-07-28 15:01:29 +02:00
parent bc7dada58c
commit 6e7c34cd5c

View File

@@ -12,4 +12,4 @@ def clan_flake(temporary_dir: Path, monkeypatch: pytest.MonkeyPatch) -> Iterator
(flake / ".clan-flake").touch()
monkeypatch.chdir(flake)
with mock_env(HOME=str(temporary_dir)):
yield temporary_dir
yield flake