projects
/
arvados.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f860ff6
)
17989: Adds test exposing the problem.
author
Lucas Di Pentima <lucas.dipentima@curii.com>
Tue, 7 Sep 2021 21:10:34 +0000
(18:10 -0300)
committer
Lucas Di Pentima <lucas.dipentima@curii.com>
Tue, 7 Sep 2021 21:10:34 +0000
(18:10 -0300)
Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <lucas.dipentima@curii.com>
sdk/python/tests/test_api.py
patch
|
blob
|
history
diff --git
a/sdk/python/tests/test_api.py
b/sdk/python/tests/test_api.py
index 60183e06a352259530534bedf56da1bbba5c3443..9b944f6c53e7ec0abc4d323d83d7ba0aece43741 100644
(file)
--- a/
sdk/python/tests/test_api.py
+++ b/
sdk/python/tests/test_api.py
@@
-107,6
+107,12
@@
class ArvadosApiTest(run_test_server.TestCaseWithServers):
self.assertEqual(api._http.timeout, 10,
"Default timeout value should be 10")
+ # Checks for bug #17989
+ def test_custom_request_timeout(self):
+ api = arvados.api('v1', timeout=1234)
+ self.assertEqual(api._http.timeout, 1234,
+ "Requested timeout value was 1234")
+
def test_ordered_json_model(self):
mock_responses = {
'arvados.humans.get': (