Inventory: fix eval tests
This commit is contained in:
@@ -189,7 +189,7 @@ let
|
|||||||
) [ ] inventory.services;
|
) [ ] inventory.services;
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
) inventory.machines;
|
) (inventory.machines or { });
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
inherit buildInventory;
|
inherit buildInventory;
|
||||||
|
|||||||
@@ -88,9 +88,9 @@ in
|
|||||||
not_used_machine = builtins.length configs.not_used_machine;
|
not_used_machine = builtins.length configs.not_used_machine;
|
||||||
};
|
};
|
||||||
expected = {
|
expected = {
|
||||||
client_1_machine = 5;
|
client_1_machine = 6;
|
||||||
client_2_machine = 5;
|
client_2_machine = 6;
|
||||||
not_used_machine = 2;
|
not_used_machine = 3;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user