We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ffa845a commit 77a9d3aCopy full SHA for 77a9d3a
tests/test_client.py
@@ -327,7 +327,7 @@ def test_network_retry(self):
327
"Call is repeated")
328
# Ensure that sleep was called with the retry interval between each attempt
329
attempt_interval = self.sg.config.rpc_attempt_interval / 1000.0
330
- calls = [mock.callargs(((attempt_interval,), {}))]
+ calls = [mock.call(attempt_interval)]
331
calls *= (self.sg.config.max_rpc_attempts - 1)
332
self.assertTrue(
333
mock_sleep.call_args_list == calls,
0 commit comments