From 2da581139c4c4073a0116a00e533100c36b31c50 Mon Sep 17 00:00:00 2001 From: Julien Duponchelle Date: Mon, 24 Apr 2017 18:49:47 +0200 Subject: [PATCH] Lower docker requirements in tests also --- tests/compute/docker/test_docker.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/compute/docker/test_docker.py b/tests/compute/docker/test_docker.py index 72c4cb79..095a25de 100644 --- a/tests/compute/docker/test_docker.py +++ b/tests/compute/docker/test_docker.py @@ -47,7 +47,7 @@ def test_query_success(loop, vm): vm._session.request = AsyncioMagicMock(return_value=response) data = loop.run_until_complete(asyncio.async(vm.query("POST", "test", data={"a": True}, params={"b": 1}))) vm._session.request.assert_called_with('POST', - 'http://docker/v1.27/test', + 'http://docker/v1.25/test', data='{"a": true}', headers={'content-type': 'application/json'}, params={'b': 1}, @@ -70,7 +70,7 @@ def test_query_error(loop, vm): with pytest.raises(DockerError): data = loop.run_until_complete(asyncio.async(vm.query("POST", "test", data={"a": True}, params={"b": 1}))) vm._session.request.assert_called_with('POST', - 'http://docker/v1.27/test', + 'http://docker/v1.25/test', data='{"a": true}', headers={'content-type': 'application/json'}, params={'b': 1}, @@ -91,7 +91,7 @@ def test_query_error_json(loop, vm): with pytest.raises(DockerError): data = loop.run_until_complete(asyncio.async(vm.query("POST", "test", data={"a": True}, params={"b": 1}))) vm._session.request.assert_called_with('POST', - 'http://docker/v1.27/test', + 'http://docker/v1.25/test', data='{"a": true}', headers={'content-type': 'application/json'}, params={'b': 1},