Fix TypeError: http_query() got an unexpected keyword argument 'timeout'

Fix #947
This commit is contained in:
Julien Duponchelle committed 2017-03-20 17:06:00 +01:00
1 parent bc0e4c1174
commit a62b791c68
2 files changed
+9 -4

No files matched your search

+6 -3
View File
@@ -51,7 +51,8 @@ def test_query_success(loop, vm):
connector=vm._connector,
data='{"a": true}',
headers={'content-type': 'application/json'},
params={'b': 1})
params={'b': 1},
timeout=300)
assert data == {"c": False}
@@ -74,7 +75,8 @@ def test_query_error(loop, vm):
connector=vm._connector,
data='{"a": true}',
headers={'content-type': 'application/json'},
params={'b': 1})
params={'b': 1},
timeout=300)
def test_query_error_json(loop, vm):
@@ -95,7 +97,8 @@ def test_query_error_json(loop, vm):
connector=vm._connector,
data='{"a": true}',
headers={'content-type': 'application/json'},
params={'b': 1})
params={'b': 1},
timeout=300)
def test_list_images(loop):