From 7fefc8e3b29616c96a5a5b99849f9edec61d9bbd Mon Sep 17 00:00:00 2001 From: Johannes Kirschbauer Date: Tue, 8 Jul 2025 15:34:16 +0200 Subject: [PATCH] Tests: dont expect a hardware-configuration.nix file --- .../clan-cli/clan_cli/tests/test_create_flake.py | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/pkgs/clan-cli/clan_cli/tests/test_create_flake.py b/pkgs/clan-cli/clan_cli/tests/test_create_flake.py index 200f8bbe2..5c5b2a944 100644 --- a/pkgs/clan-cli/clan_cli/tests/test_create_flake.py +++ b/pkgs/clan-cli/clan_cli/tests/test_create_flake.py @@ -36,10 +36,10 @@ def test_create_flake( # create a hardware-configuration.nix that doesn't throw an eval error - for patch_machine in ["jon", "sara"]: - ( - flake_dir / "machines" / f"{patch_machine}/hardware-configuration.nix" - ).write_text("{}") + # for patch_machine in ["jon", "sara"]: + # ( + # flake_dir / "machines" / f"{patch_machine}/hardware-configuration.nix" + # ).write_text("{}") with capture_output as output: cli.run(["machines", "list"]) @@ -79,10 +79,10 @@ def test_create_flake_existing_git( # create a hardware-configuration.nix that doesn't throw an eval error - for patch_machine in ["jon", "sara"]: - ( - flake_dir / "machines" / f"{patch_machine}/hardware-configuration.nix" - ).write_text("{}") + # for patch_machine in ["jon", "sara"]: + # ( + # flake_dir / "machines" / f"{patch_machine}/hardware-configuration.nix" + # ).write_text("{}") with capture_output as output: cli.run(["machines", "list"])