Compare commits
5
Commits
bd715e9d71
...
680ba0285e
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
680ba0285e | ||
|
|
c3bd8023d6 | ||
|
|
853e423643 | ||
|
|
7b0e6d0bdf | ||
|
|
e642113124 |
File diff suppressed because it is too large
Load Diff
@@ -417,11 +417,20 @@ class DevicePlaneRegistryTest(unittest.TestCase):
|
|||||||
"Health": {"Status": "unhealthy"},
|
"Health": {"Status": "unhealthy"},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
preserved_inventory = {
|
||||||
|
**inventory,
|
||||||
|
"services": inventory["services"][1:],
|
||||||
|
}
|
||||||
with (
|
with (
|
||||||
mock.patch.object(
|
mock.patch.object(
|
||||||
RUNNER,
|
RUNNER,
|
||||||
"healthcheck_compose_service_with_grace",
|
"healthcheck_compose_service_with_grace",
|
||||||
) as preserved_health,
|
) as preserved_health,
|
||||||
|
mock.patch.object(
|
||||||
|
RUNNER,
|
||||||
|
"device_plane_runtime_inventory",
|
||||||
|
return_value=preserved_inventory,
|
||||||
|
),
|
||||||
mock.patch.object(
|
mock.patch.object(
|
||||||
RUNNER,
|
RUNNER,
|
||||||
"compose_service_container_id",
|
"compose_service_container_id",
|
||||||
|
|||||||
Reference in New Issue
Block a user