From 7f49cf12799caea42d047bb501d337d954f7df17 Mon Sep 17 00:00:00 2001 From: Tianon Gravi Date: Mon, 16 Feb 2015 16:42:24 -0700 Subject: [PATCH] Fix several DOCKER_HOST assumptions in integration_test.py --- tests/integration_test.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/integration_test.py b/tests/integration_test.py index ad00d244..869d61e8 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()