diff options
author | Jhon Honce <jhonce@redhat.com> | 2018-05-16 08:12:36 -0700 |
---|---|---|
committer | Atomic Bot <atomic-devel@projectatomic.io> | 2018-05-16 18:48:40 +0000 |
commit | 9fed15af938fdd92ee38d398bcd262130d03ed96 (patch) | |
tree | 838daa0ae9e55ea3e476aeb1805291215703cdb5 /test/varlink/test_containers.py | |
parent | 7dced311d1119d98dbdd60f6d47fdde5abbff7d7 (diff) | |
download | podman-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_containers.py')
-rw-r--r-- | test/varlink/test_containers.py | 89 |
1 files changed, 0 insertions, 89 deletions
diff --git a/test/varlink/test_containers.py b/test/varlink/test_containers.py deleted file mode 100644 index de2f8bbd7..000000000 --- a/test/varlink/test_containers.py +++ /dev/null @@ -1,89 +0,0 @@ -import unittest - -from varlink import VarlinkError - -from podman_testcase import PodmanTestCase - -MethodNotImplemented = 'org.varlink.service.MethodNotImplemented' - - -class TestContainersAPI(PodmanTestCase): - def test_ListContainers(self): - with self.assertRaisesRegex(VarlinkError, MethodNotImplemented): - self.podman.ListContainers() - - def test_CreateContainer(self): - with self.assertRaisesRegex(VarlinkError, MethodNotImplemented): - self.podman.CreateContainer() - - def test_InspecContainer(self): - with self.assertRaisesRegex(VarlinkError, MethodNotImplemented): - self.podman.InspectContainer() - - def test_ListContainerProcesses(self): - with self.assertRaisesRegex(VarlinkError, MethodNotImplemented): - self.podman.ListContainerProcesses() - - def test_GetContainerLogs(self): - with self.assertRaisesRegex(VarlinkError, MethodNotImplemented): - self.podman.GetContainerLogs() - - def test_ListContainerChanges(self): - with self.assertRaisesRegex(VarlinkError, MethodNotImplemented): - self.podman.ListContainerChanges() - - def test_ExportContainer(self): - with self.assertRaisesRegex(VarlinkError, MethodNotImplemented): - self.podman.ExportContainer() - - def test_GetContainerStats(self): - with self.assertRaisesRegex(VarlinkError, MethodNotImplemented): - self.podman.GetContainerStats() - - def test_ResizeContainerTty(self): - with self.assertRaisesRegex(VarlinkError, MethodNotImplemented): - self.podman.ResizeContainerTty() - - def test_StartContainer(self): - with self.assertRaisesRegex(VarlinkError, MethodNotImplemented): - self.podman.StartContainer() - - def test_RestartContainer(self): - with self.assertRaisesRegex(VarlinkError, MethodNotImplemented): - self.podman.RestartContainer() - - def test_KillContainer(self): - with self.assertRaisesRegex(VarlinkError, MethodNotImplemented): - self.podman.KillContainer() - - def test_UpdateContainer(self): - with self.assertRaisesRegex(VarlinkError, MethodNotImplemented): - self.podman.UpdateContainer() - - def test_RenameContainer(self): - with self.assertRaisesRegex(VarlinkError, MethodNotImplemented): - self.podman.RenameContainer() - - def test_PauseContainer(self): - with self.assertRaisesRegex(VarlinkError, MethodNotImplemented): - self.podman.PauseContainer() - - def test_UnpauseContainer(self): - with self.assertRaisesRegex(VarlinkError, MethodNotImplemented): - self.podman.UnpauseContainer() - - def test_AttachToContainer(self): - with self.assertRaisesRegex(VarlinkError, MethodNotImplemented): - self.podman.AttachToContainer() - - def test_WaitContainer(self): - with self.assertRaisesRegex(VarlinkError, MethodNotImplemented): - self.podman.WaitContainer() - - def test_RemoveContainer(self): - with self.assertRaisesRegex(VarlinkError, MethodNotImplemented): - self.podman.RemoveContainer() - - -if __name__ == '__main__': - unittest.main() |