diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2021-09-23 11:34:42 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-23 11:34:42 -0400 |
commit | e8fc990aadf438e3b138d77b1bb4500cc60a7738 (patch) | |
tree | 641a8b9e92c3a986d38a42068cc092af6b72a736 /test/apiv2 | |
parent | c2beea695857b71250c87eb9ab799f7773b8d251 (diff) | |
parent | 1199733754b1185d0d2a7a3d832c57565864d0f4 (diff) | |
download | podman-e8fc990aadf438e3b138d77b1bb4500cc60a7738.tar.gz podman-e8fc990aadf438e3b138d77b1bb4500cc60a7738.tar.bz2 podman-e8fc990aadf438e3b138d77b1bb4500cc60a7738.zip |
Merge pull request #11654 from Luap99/health-docker
podman inspect add State.Health field for docker compat
Diffstat (limited to 'test/apiv2')
-rw-r--r-- | test/apiv2/python/rest_api/test_v2_0_0_container.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/apiv2/python/rest_api/test_v2_0_0_container.py b/test/apiv2/python/rest_api/test_v2_0_0_container.py index dbad6824f..853e9da88 100644 --- a/test/apiv2/python/rest_api/test_v2_0_0_container.py +++ b/test/apiv2/python/rest_api/test_v2_0_0_container.py @@ -56,7 +56,7 @@ class ContainerTestCase(APITestCase): self.assertEqual(r.status_code, 200, r.text) self.assertId(r.content) out = r.json() - self.assertIsNone(out["State"].get("Health")) + self.assertIsNotNone(out["State"].get("Health")) self.assertListEqual(["CMD", "pidof", "top"], out["Config"]["Healthcheck"]["Test"]) self.assertEqual(5000000000, out["Config"]["Healthcheck"]["Interval"]) self.assertEqual(2000000000, out["Config"]["Healthcheck"]["Timeout"]) |