test_vars_deployment: fix test

This commit is contained in:
Jörg Thalheim
2024-10-08 19:46:16 +02:00
committed by Mic92
parent 09d1ccd0fd
commit f19d977544

View File

@@ -65,8 +65,9 @@ def test_vm_deployment(
machine_configs={"m1_machine": machine1_config, "m2_machine": machine2_config}, machine_configs={"m1_machine": machine1_config, "m2_machine": machine2_config},
) )
sops_setup.init() sops_setup.init(flake.path)
cli.run(["vars", "generate", "--flake", str(flake.path)]) cli.run(["vars", "generate", "--flake", str(flake.path)])
# check sops secrets not empty # check sops secrets not empty
for machine in ["m1_machine", "m2_machine"]: for machine in ["m1_machine", "m2_machine"]:
sops_secrets = json.loads( sops_secrets = json.loads(