- self.assertEqual(api._http.timeout, None,
- "Default timeout value shouldn't be set")
+ 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")