summaryrefslogtreecommitdiff
path: root/test/varlink/test_images.py
diff options
context:
space:
mode:
authorJhon Honce <jhonce@redhat.com>2018-05-16 08:12:36 -0700
committerAtomic Bot <atomic-devel@projectatomic.io>2018-05-16 18:48:40 +0000
commit9fed15af938fdd92ee38d398bcd262130d03ed96 (patch)
tree838daa0ae9e55ea3e476aeb1805291215703cdb5 /test/varlink/test_images.py
parent7dced311d1119d98dbdd60f6d47fdde5abbff7d7 (diff)
downloadpodman-9fed15af938fdd92ee38d398bcd262130d03ed96.tar.gz
podman-9fed15af938fdd92ee38d398bcd262130d03ed96.tar.bz2
podman-9fed15af938fdd92ee38d398bcd262130d03ed96.zip
Remove old varlink tests
* Replaced by tests in libpod/contrib/python/test Signed-off-by: Jhon Honce <jhonce@redhat.com> Closes: #766 Approved by: rhatdan
Diffstat (limited to 'test/varlink/test_images.py')
-rw-r--r--test/varlink/test_images.py65
1 files changed, 0 insertions, 65 deletions
diff --git a/test/varlink/test_images.py b/test/varlink/test_images.py
deleted file mode 100644
index 3c53f164e..000000000
--- a/test/varlink/test_images.py
+++ /dev/null
@@ -1,65 +0,0 @@
-import unittest
-
-from varlink import VarlinkError
-
-from podman_testcase import PodmanTestCase
-
-MethodNotImplemented = 'org.varlink.service.MethodNotImplemented'
-
-
-class TestImagesAPI(PodmanTestCase):
- def test_ListImages(self):
- with self.assertRaisesRegex(VarlinkError, MethodNotImplemented):
- self.podman.ListImages()
-
- def test_BuildImage(self):
- with self.assertRaisesRegex(VarlinkError, MethodNotImplemented):
- self.podman.BuildImage()
-
- def test_CreateImage(self):
- with self.assertRaisesRegex(VarlinkError, MethodNotImplemented):
- self.podman.CreateImage()
-
- def test_InspectImage(self):
- with self.assertRaisesRegex(VarlinkError, MethodNotImplemented):
- self.podman.InspectImage()
-
- def test_HistoryImage(self):
- with self.assertRaisesRegex(VarlinkError, MethodNotImplemented):
- self.podman.HistoryImage()
-
- def test_PushImage(self):
- with self.assertRaisesRegex(VarlinkError, MethodNotImplemented):
- self.podman.PushImage()
-
- def test_TagImage(self):
- with self.assertRaisesRegex(VarlinkError, MethodNotImplemented):
- self.podman.TagImage()
-
- def test_RemoveImage(self):
- with self.assertRaisesRegex(VarlinkError, MethodNotImplemented):
- self.podman.TagImage()
-
- def test_SearchImage(self):
- with self.assertRaisesRegex(VarlinkError, MethodNotImplemented):
- self.podman.SearchImage()
-
- def test_DeleteUnusedImages(self):
- with self.assertRaisesRegex(VarlinkError, MethodNotImplemented):
- self.podman.DeleteUnusedImages()
-
- def test_CreateFromContainer(self):
- with self.assertRaisesRegex(VarlinkError, MethodNotImplemented):
- self.podman.CreateFromContainer()
-
- def test_ImportImage(self):
- with self.assertRaisesRegex(VarlinkError, MethodNotImplemented):
- self.podman.ImportImage()
-
- def test_ExportImage(self):
- with self.assertRaisesRegex(VarlinkError, MethodNotImplemented):
- self.podman.ExportImage()
-
-
-if __name__ == '__main__':
- unittest.main()