Tests: dont expect a hardware-configuration.nix file
This commit is contained in:
@@ -36,10 +36,10 @@ def test_create_flake(
|
|||||||
|
|
||||||
# create a hardware-configuration.nix that doesn't throw an eval error
|
# create a hardware-configuration.nix that doesn't throw an eval error
|
||||||
|
|
||||||
for patch_machine in ["jon", "sara"]:
|
# for patch_machine in ["jon", "sara"]:
|
||||||
(
|
# (
|
||||||
flake_dir / "machines" / f"{patch_machine}/hardware-configuration.nix"
|
# flake_dir / "machines" / f"{patch_machine}/hardware-configuration.nix"
|
||||||
).write_text("{}")
|
# ).write_text("{}")
|
||||||
|
|
||||||
with capture_output as output:
|
with capture_output as output:
|
||||||
cli.run(["machines", "list"])
|
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
|
# create a hardware-configuration.nix that doesn't throw an eval error
|
||||||
|
|
||||||
for patch_machine in ["jon", "sara"]:
|
# for patch_machine in ["jon", "sara"]:
|
||||||
(
|
# (
|
||||||
flake_dir / "machines" / f"{patch_machine}/hardware-configuration.nix"
|
# flake_dir / "machines" / f"{patch_machine}/hardware-configuration.nix"
|
||||||
).write_text("{}")
|
# ).write_text("{}")
|
||||||
|
|
||||||
with capture_output as output:
|
with capture_output as output:
|
||||||
cli.run(["machines", "list"])
|
cli.run(["machines", "list"])
|
||||||
|
|||||||
Reference in New Issue
Block a user