summaryrefslogtreecommitdiff
path: root/test/varlink/podman_testcase.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/podman_testcase.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/podman_testcase.py')
-rw-r--r--test/varlink/podman_testcase.py28
1 files changed, 0 insertions, 28 deletions
diff --git a/test/varlink/podman_testcase.py b/test/varlink/podman_testcase.py
deleted file mode 100644
index c8395a5f1..000000000
--- a/test/varlink/podman_testcase.py
+++ /dev/null
@@ -1,28 +0,0 @@
-"""Custom TestCase for varlink/podman."""
-import os
-import unittest
-
-import varlink
-
-
-class PodmanTestCase(unittest.TestCase):
- """Provides varlink setup for podman."""
-
- def __init__(self, *args, **kwargs):
- """Initialize class by calling parent."""
- super(PodmanTestCase, self).__init__(*args, **kwargs)
- self.address = os.environ.get(
- 'PODMAN_HOST',
- 'unix:/run/podman/io.projectatomic.podman')
-
- def setUp(self):
- """Set up the varlink/podman fixture before each test."""
- super(PodmanTestCase, self).setUp()
- self.client = varlink.Client(
- address=self.address)
- self.podman = self.client.open('io.projectatomic.podman')
-
- def tearDown(self):
- """Deconstruct the varlink/podman fixture after each test."""
- super(PodmanTestCase, self).tearDown()
- self.podman.close()