From bb1950a4a086479e3481152546c84f50c6db21ea Mon Sep 17 00:00:00 2001 From: DavHau Date: Fri, 5 Jul 2024 15:55:52 +0700 Subject: [PATCH] fixtures_flakes.py: remove dead code --- pkgs/clan-cli/tests/fixtures_flakes.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/pkgs/clan-cli/tests/fixtures_flakes.py b/pkgs/clan-cli/tests/fixtures_flakes.py index eb3847a69..336112811 100644 --- a/pkgs/clan-cli/tests/fixtures_flakes.py +++ b/pkgs/clan-cli/tests/fixtures_flakes.py @@ -113,7 +113,6 @@ def generate_flake( def create_flake( - monkeypatch: pytest.MonkeyPatch, temporary_home: Path, flake_template: str | Path, clan_core_flake: Path | None = None, @@ -188,7 +187,7 @@ def create_flake( def test_flake( monkeypatch: pytest.MonkeyPatch, temporary_home: Path ) -> Iterator[FlakeForTest]: - yield from create_flake(monkeypatch, temporary_home, "test_flake") + yield from create_flake(temporary_home, "test_flake") # check that git diff on ./sops is empty if (temporary_home / "test_flake" / "sops").exists(): git_proc = sp.run( @@ -212,7 +211,6 @@ def test_flake_with_core( "clan-core flake not found. This test requires the clan-core flake to be present" ) yield from create_flake( - monkeypatch, temporary_home, "test_flake_with_core", CLAN_CORE, @@ -246,7 +244,6 @@ def test_flake_with_core_and_pass( "clan-core flake not found. This test requires the clan-core flake to be present" ) yield from create_flake( - monkeypatch, temporary_home, "test_flake_with_core_and_pass", CLAN_CORE, @@ -262,7 +259,6 @@ def test_flake_minimal( "clan-core flake not found. This test requires the clan-core flake to be present" ) yield from create_flake( - monkeypatch, temporary_home, CLAN_CORE / "templates" / "minimal", CLAN_CORE,