Skip to content
This repository was archived by the owner on Mar 26, 2026. It is now read-only.

Commit 9a033a4

Browse files
committed
call mock
1 parent 4a80a44 commit 9a033a4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

gapic/templates/tests/unit/gapic/%name_%version/%sub/test_macros.j2

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -263,6 +263,7 @@ async def test_{{ method_name }}_async_use_cached_wrapped_rpc(transport: str = "
263263
# Replace cached wrapped function with mock
264264
mock_object = mock.AsyncMock()
265265
async def mock_rpc(*args, **kwargs):
266+
mock(*args, **kwargs)
266267
return mock_object
267268
client._client._transport._wrapped_methods[client._client._transport.{{method.transport_safe_name|snake_case}}] = mock_rpc
268269

0 commit comments

Comments
 (0)