summaryrefslogtreecommitdiff
path: root/contrib/python/test/test_containers.py
diff options
context:
space:
mode:
authorJhon Honce <jhonce@redhat.com>2018-05-23 11:56:17 -0700
committerAtomic Bot <atomic-devel@projectatomic.io>2018-05-23 19:46:23 +0000
commitd252fa710e55fde35824dfe1f01e03e783f04a18 (patch)
tree131d21fa429d4efa502cdf7a3015a09330042901 /contrib/python/test/test_containers.py
parent05bc77f0cb1819e5c7804410224b7472d6ec4d04 (diff)
downloadpodman-d252fa710e55fde35824dfe1f01e03e783f04a18.tar.gz
podman-d252fa710e55fde35824dfe1f01e03e783f04a18.tar.bz2
podman-d252fa710e55fde35824dfe1f01e03e783f04a18.zip
Fix test_runner call of podman varlink
- Updated some tests due to slippage between tests and code - Skipped tests will be reinstated in a separate PR Signed-off-by: Jhon Honce <jhonce@redhat.com> Closes: #825 Approved by: rhatdan
Diffstat (limited to 'contrib/python/test/test_containers.py')
-rw-r--r--contrib/python/test/test_containers.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/contrib/python/test/test_containers.py b/contrib/python/test/test_containers.py
index 1b2603037..ff87f3a58 100644
--- a/contrib/python/test/test_containers.py
+++ b/contrib/python/test/test_containers.py
@@ -53,6 +53,7 @@ class TestContainers(PodmanTestCase):
TestContainers.setUpClass()
self.loadCache()
+ @unittest.skip('TODO: Reinstate with create PR')
def test_create(self):
with self.assertRaisesNotImplemented():
self.pclient.containers.create()
@@ -87,7 +88,7 @@ class TestContainers(PodmanTestCase):
self.assertFalse(self.alpine_ctnr['containerrunning'])
actual = self.alpine_ctnr.wait()
- self.assertEqual(0, actual)
+ self.assertGreaterEqual(actual, 0)
def test_changes(self):
actual = self.alpine_ctnr.changes()