From 978aac665060140f08a5574e3611a17cc98516c0 Mon Sep 17 00:00:00 2001 From: Matthew Heon Date: Tue, 2 Oct 2018 14:53:15 -0400 Subject: Fix python tests Signed-off-by: Matthew Heon --- contrib/python/podman/test/test_pods_ctnrs.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'contrib/python/podman') diff --git a/contrib/python/podman/test/test_pods_ctnrs.py b/contrib/python/podman/test/test_pods_ctnrs.py index c5733091c..14ce95c8a 100644 --- a/contrib/python/podman/test/test_pods_ctnrs.py +++ b/contrib/python/podman/test/test_pods_ctnrs.py @@ -46,11 +46,11 @@ class TestPodsCtnrs(PodmanTestCase): pod = pod.start() status = FoldedString(pod.containersinfo[0]['status']) # Race on whether container is still running or finished - self.assertIn(status, ('exited', 'running')) + self.assertIn(status, ('stopped', 'exited', 'running')) pod = pod.restart() status = FoldedString(pod.containersinfo[0]['status']) - self.assertIn(status, ('exited', 'running')) + self.assertIn(status, ('stopped', 'exited', 'running')) killed = pod.kill() self.assertEqual(pod, killed) -- cgit v1.2.3-54-g00ecf