diff options
author | Jhon Honce <jhonce@redhat.com> | 2018-05-17 11:57:59 -0700 |
---|---|---|
committer | Atomic Bot <atomic-devel@projectatomic.io> | 2018-05-18 21:08:21 +0000 |
commit | 4b804e85165a29f9d712f1ec4f289040f942f459 (patch) | |
tree | 39d689400151f9c9dc954c4f648fe2c3f01127e1 /contrib/python/test/test_images.py | |
parent | 228c71b1dadaa8894648111982d09c76b066e3c9 (diff) | |
download | podman-4b804e85165a29f9d712f1ec4f289040f942f459.tar.gz podman-4b804e85165a29f9d712f1ec4f289040f942f459.tar.bz2 podman-4b804e85165a29f9d712f1ec4f289040f942f459.zip |
Implement podman.containers.commit()
- Add API support
- Update tests
- Make changes from reviews
Signed-off-by: Jhon Honce <jhonce@redhat.com>
Closes: #798
Approved by: mheon
Diffstat (limited to 'contrib/python/test/test_images.py')
-rw-r--r-- | contrib/python/test/test_images.py | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/contrib/python/test/test_images.py b/contrib/python/test/test_images.py index c34fc791d..02ca5b236 100644 --- a/contrib/python/test/test_images.py +++ b/contrib/python/test/test_images.py @@ -49,11 +49,6 @@ class TestImages(PodmanTestCase): with self.assertRaisesNotImplemented(): self.pclient.images.create() - @unittest.skip('Code implemented') - def test_create_from(self): - with self.assertRaisesNotImplemented(): - self.pclient.images.create_from() - def test_export(self): path = os.path.join(self.tmpdir, 'alpine_export.tar') target = 'oci-archive:{}:latest'.format(path) @@ -125,7 +120,7 @@ class TestImages(PodmanTestCase): self.assertIn(new_img, actual) after = self.loadCache() - self.assertEqual(len(before), len(after)) + self.assertGreaterEqual(len(before), len(after)) TestImages.setUpClass() self.loadCache() |