From 6e7c34cd5c2820374f8455fd98b5aa9c4e34a53e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Fri, 28 Jul 2023 15:01:29 +0200 Subject: [PATCH] tests/clan-flake: yield flake path rather than homedir --- pkgs/clan-cli/tests/clan_flake.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/clan-cli/tests/clan_flake.py b/pkgs/clan-cli/tests/clan_flake.py index 4a9326eb3..c951c681a 100644 --- a/pkgs/clan-cli/tests/clan_flake.py +++ b/pkgs/clan-cli/tests/clan_flake.py @@ -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