diff options
author | Tianon Gravi <admwiggin@gmail.com> | 2015-02-16 16:42:24 -0700 |
---|---|---|
committer | Tianon Gravi <admwiggin@gmail.com> | 2015-02-16 16:42:34 -0700 |
commit | 7f49cf12799caea42d047bb501d337d954f7df17 (patch) | |
tree | 5c97315027f69acdeebb7cc0425305c42a230fea | |
parent | 7084802da225bb7d2d25cc91cdd3d110ed1fa7d2 (diff) | |
download | docker-py-7f49cf12799caea42d047bb501d337d954f7df17.tar.gz |
Fix several DOCKER_HOST assumptions in integration_test.py
-rw-r--r-- | tests/integration_test.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/integration_test.py b/tests/integration_test.py index ad00d24..869d61e 100644 --- a/tests/integration_test.py +++ b/tests/integration_test.py @@ -1429,7 +1429,7 @@ class UnixconnTestCase(unittest.TestCase): with warnings.catch_warnings(record=True) as w: warnings.simplefilter('always') - client = docker.Client() + client = docker.Client(base_url=DEFAULT_BASE_URL) client.images() client.close() del client @@ -1444,7 +1444,7 @@ class UnixconnTestCase(unittest.TestCase): class TestRegressions(unittest.TestCase): def setUp(self): - self.client = docker.client.Client(timeout=5) + self.client = docker.Client(timeout=5, base_url=DEFAULT_BASE_URL) def test_443(self): dfile = io.BytesIO() |