Fix integration test on Docker for Mac
Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com>
This commit is contained in:
parent
3dec600d82
commit
9759f27fa6
1 changed files with 1 additions and 1 deletions
|
|
@ -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):
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue