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 0a3434e commit d727f14Copy full SHA for d727f14
tests/unit/gapic/test_method.py
@@ -198,10 +198,11 @@ def test_wrap_method_with_overriding_timeout_as_a_number():
198
method, default_retry, default_timeout
199
)
200
201
- result = wrapped_method(timeout=22)
+ timeout = 22
202
+ result = wrapped_method(timeout=timeout)
203
204
assert result == 42
- method.assert_called_once_with(timeout=22, metadata=mock.ANY)
205
+ method.assert_called_once_with(timeout=timeout, metadata=mock.ANY)
206
207
208
def test_wrap_method_with_call():
0 commit comments