Merge pull request 'tests/clan-flake: yield flake path rather than homedir' (#51) from cli-prep into main

This commit is contained in:
clan-bot
2023-07-28 13:25:42 +00:00

View File

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