From 7b3836631ed085a3debb43bebeff9a06c15505c3 Mon Sep 17 00:00:00 2001 From: Lucas Di Pentima Date: Thu, 15 Apr 2021 14:07:36 -0300 Subject: [PATCH] 17171: Exposes bug with a test. Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima --- sdk/python/tests/test_api.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/sdk/python/tests/test_api.py b/sdk/python/tests/test_api.py index 8d3142ab6a..8fb364356f 100644 --- a/sdk/python/tests/test_api.py +++ b/sdk/python/tests/test_api.py @@ -101,6 +101,12 @@ class ArvadosApiTest(run_test_server.TestCaseWithServers): text = "X" * maxsize arvados.api('v1').collections().create(body={"manifest_text": text}).execute() + # Checks for bug #17171 + def test_default_request_timeout(self): + api = arvados.api('v1') + self.assertEqual(api._http.timeout, None, + "Default timeout value shouldn't be set") + def test_ordered_json_model(self): mock_responses = { 'arvados.humans.get': ( -- 2.30.2