api: fix breaking tests

This commit is contained in:
Johannes Kirschbauer
2024-05-26 14:17:17 +02:00
parent 522fd1bcaa
commit f54c518fd7
2 changed files with 12 additions and 4 deletions

View File

@@ -18,8 +18,8 @@ def test_machine_subcommands(
out = capsys.readouterr()
assert "machine1" in out.out
assert "nvm1" in out.out
assert "nvm2" in out.out
assert "vm1" in out.out
assert "vm2" in out.out
cli.run(
["--flake", str(test_flake_with_core.path), "machines", "delete", "machine1"]
@@ -30,5 +30,5 @@ def test_machine_subcommands(
out = capsys.readouterr()
assert "machine1" not in out.out
assert "nvm1" in out.out
assert "nvm2" in out.out
assert "vm1" in out.out
assert "vm2" in out.out