summaryrefslogtreecommitdiff
path: root/tests/integration/client_test.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/integration/client_test.py')
-rw-r--r--tests/integration/client_test.py8
1 files changed, 5 insertions, 3 deletions
diff --git a/tests/integration/client_test.py b/tests/integration/client_test.py
index dfced9b..20e8cd5 100644
--- a/tests/integration/client_test.py
+++ b/tests/integration/client_test.py
@@ -2,19 +2,21 @@ import unittest
import docker
+from .base import TEST_API_VERSION
+
class ClientTest(unittest.TestCase):
def test_info(self):
- client = docker.from_env()
+ client = docker.from_env(version=TEST_API_VERSION)
info = client.info()
assert 'ID' in info
assert 'Name' in info
def test_ping(self):
- client = docker.from_env()
+ client = docker.from_env(version=TEST_API_VERSION)
assert client.ping() is True
def test_version(self):
- client = docker.from_env()
+ client = docker.from_env(version=TEST_API_VERSION)
assert 'Version' in client.version()