Tests: dont expect a hardware-configuration.nix file

This commit is contained in:
Johannes Kirschbauer
2025-07-08 15:34:16 +02:00
parent 62cadb8fbe
commit 7fefc8e3b2

View File

@@ -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"])