Merge pull request #3943 from aanand/fix-integration-test-on-docker-for-mac

Fix integration test on Docker for Mac
This commit is contained in:
Joffrey F 2016-09-13 11:54:16 -07:00 committed by GitHub
commit 1b2354c6f4
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@ class TestHandleConnectionErrors(object):
raise ConnectionError() raise ConnectionError()
_, args, _ = mock_logging.error.mock_calls[0] _, args, _ = mock_logging.error.mock_calls[0]
assert "Couldn't connect to Docker daemon at" in args[0] assert "Couldn't connect to Docker daemon" in args[0]
def test_api_error_version_mismatch(self, mock_logging): def test_api_error_version_mismatch(self, mock_logging):
with pytest.raises(errors.ConnectionError): with pytest.raises(errors.ConnectionError):