rename run_no_output to run_no_stdout

we want stderr for some nix commands.
This commit is contained in:
Jörg Thalheim
2024-12-03 17:14:27 +01:00
parent 8837af2c79
commit 51526aedbb
13 changed files with 32 additions and 32 deletions

View File

@@ -12,7 +12,7 @@ from clan_cli.inventory import (
set_inventory,
)
from clan_cli.machines.create import CreateOptions, create_machine
from clan_cli.nix import nix_eval, run_no_output
from clan_cli.nix import nix_eval, run_no_stdout
from fixtures_flakes import FlakeForTest
if TYPE_CHECKING:
@@ -97,7 +97,7 @@ def test_add_module_to_inventory(
"--json",
]
)
proc = run_no_output(cmd)
proc = run_no_stdout(cmd)
res = json.loads(proc.stdout.strip())
assert res["machine1"]["authorizedKeys"] == [ssh_key]