Inventory: fix eval tests

This commit is contained in:
Johannes Kirschbauer
2024-09-16 22:13:45 +02:00
parent 72f79dee37
commit d4123a14d2
2 changed files with 4 additions and 4 deletions

View File

@@ -189,7 +189,7 @@ let
) [ ] inventory.services;
}
]
) inventory.machines;
) (inventory.machines or { });
in
{
inherit buildInventory;

View File

@@ -88,9 +88,9 @@ in
not_used_machine = builtins.length configs.not_used_machine;
};
expected = {
client_1_machine = 5;
client_2_machine = 5;
not_used_machine = 2;
client_1_machine = 6;
client_2_machine = 6;
not_used_machine = 3;
};
};