projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' into 4024-pipeline-instances-scroll
[arvados.git]
/
sdk
/
python
/
tests
/
test_retry.py
diff --git
a/sdk/python/tests/test_retry.py
b/sdk/python/tests/test_retry.py
index 8c3916b009db2c2f076d64720f6ea135084a357f..0c1110c5ceb10e5164d48db9c03bd2e74f8b9639 100644
(file)
--- a/
sdk/python/tests/test_retry.py
+++ b/
sdk/python/tests/test_retry.py
@@
-7,7
+7,7
@@
import arvados.errors as arv_error
import arvados.retry as arv_retry
import mock
import arvados.retry as arv_retry
import mock
-from arvados_testutil import fake_
httplib2
_response
+from arvados_testutil import fake_
requests
_response
class RetryLoopTestMixin(object):
@staticmethod
class RetryLoopTestMixin(object):
@staticmethod
@@
-150,7
+150,7
@@
class RetryLoopBackoffTestCase(unittest.TestCase, RetryLoopTestMixin):
class CheckHTTPResponseSuccessTestCase(unittest.TestCase):
def results_map(self, *codes):
for code in codes:
class CheckHTTPResponseSuccessTestCase(unittest.TestCase):
def results_map(self, *codes):
for code in codes:
- response =
(fake_httplib2_response(code)
, None)
+ response =
fake_requests_response(code
, None)
yield code, arv_retry.check_http_response_success(response)
def check(assert_name):
yield code, arv_retry.check_http_response_success(response)
def check(assert_name):