From 2f0f9944b610773d2d547c59cc7d936665b2bbdc Mon Sep 17 00:00:00 2001 From: Jhon Honce Date: Wed, 20 Jun 2018 19:14:27 -0700 Subject: Add unittests and fix bugs * Improved error messages * Improved checking of user input Signed-off-by: Jhon Honce Closes: #978 Approved by: mheon --- contrib/python/test/test_system.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'contrib/python/test/test_system.py') diff --git a/contrib/python/test/test_system.py b/contrib/python/test/test_system.py index 93fb9aded..3f6ca57a2 100644 --- a/contrib/python/test/test_system.py +++ b/contrib/python/test/test_system.py @@ -32,8 +32,8 @@ class TestSystem(unittest.TestCase): uri=local_uri, remote_uri=remote_uri, identity_file=os.path.expanduser('~/.ssh/id_rsa'), - ) as pclient: - pclient.system.ping() + ) as remote_client: + remote_client.system.ping() def test_versions(self): with podman.Client(self.host) as pclient: -- cgit v1.2.3-54-g00ecf