Working test_create_flake

This commit is contained in:
Qubasa
2023-10-20 01:20:40 +02:00
parent 3dc7d12e9c
commit 950808498f
3 changed files with 9 additions and 10 deletions

View File

@@ -65,6 +65,6 @@ def test_create_flake(
pytest.fail("nixosConfigurations.machine1 not found in flake outputs")
# configure machine1
capsys.readouterr()
cli.run(["config", "--machine", "machine1", "services.openssh.enable"])
cli.run(["config", "--machine", "machine1", "services.openssh.enable", "", flake_name])
capsys.readouterr()
cli.run(["config", "--machine", "machine1", "services.openssh.enable", "true"])
cli.run(["config", "--machine", "machine1", "services.openssh.enable", "true", flake_name])