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
This commit is contained in:
Jhon Honce
2018-05-23 11:56:17 -07:00
committed by Atomic Bot
parent 05bc77f0cb
commit d252fa710e
2 changed files with 3 additions and 2 deletions

View File

@ -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()

View File

@ -98,7 +98,7 @@ $PODMAN --version
set -x
# Run podman in background without systemd for test purposes
$PODMAN --timeout 0 varlink ${PODMAN_HOST} >/tmp/test_runner.output 2>&1 &
$PODMAN varlink --timeout=0 ${PODMAN_HOST} >/tmp/test_runner.output 2>&1 &
if [[ -z $1 ]]; then
export PYTHONPATH=.