diff --git a/pkgs/clan-cli/tests/clan_flake.py b/pkgs/clan-cli/tests/clan_flake.py index 5a71635..4a9326e 100644 --- a/pkgs/clan-cli/tests/clan_flake.py +++ b/pkgs/clan-cli/tests/clan_flake.py @@ -6,12 +6,10 @@ from environment import mock_env @pytest.fixture -def clan_flake( - temporary_directory: Path, monkeypatch: pytest.MonkeyPatch -) -> Iterator[Path]: - flake = temporary_directory / "clan-flake" +def clan_flake(temporary_dir: Path, monkeypatch: pytest.MonkeyPatch) -> Iterator[Path]: + flake = temporary_dir / "clan-flake" flake.mkdir() (flake / ".clan-flake").touch() monkeypatch.chdir(flake) - with mock_env(HOME=str(temporary_directory)): - yield temporary_directory + with mock_env(HOME=str(temporary_dir)): + yield temporary_dir