Skip to content

Commit d91d4b1

Browse files
committed
chore: Use async mock in async test
This is in response to a code review comment by Gemini Code Assist
1 parent 00bacfc commit d91d4b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/asyncio/test_operation_async.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ async def test_unexpected_result(unused_sleep):
181181
async def test_from_gapic():
182182
operation_proto = make_operation_proto(done=True)
183183
operations_client = mock.create_autospec(
184-
operations_v1.OperationsClient, instance=True
184+
operations_v1.OperationsAsyncClient, instance=True
185185
)
186186

187187
future = operation_async.from_gapic(

0 commit comments

Comments
 (0)