diff options
author | Matthew Heon <matthew.heon@gmail.com> | 2018-10-02 14:53:15 -0400 |
---|---|---|
committer | Matthew Heon <matthew.heon@gmail.com> | 2018-10-02 14:53:15 -0400 |
commit | 978aac665060140f08a5574e3611a17cc98516c0 (patch) | |
tree | c4cdaa0740794f9595fe974a86f34de4ba4ab979 /contrib | |
parent | b7c5fa70ab858a32432a653674efcf10531048ff (diff) | |
download | podman-978aac665060140f08a5574e3611a17cc98516c0.tar.gz podman-978aac665060140f08a5574e3611a17cc98516c0.tar.bz2 podman-978aac665060140f08a5574e3611a17cc98516c0.zip |
Fix python tests
Signed-off-by: Matthew Heon <matthew.heon@gmail.com>
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/python/podman/test/test_pods_ctnrs.py | 4 |
1 files changed, 2 insertions, 2 deletions
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) |