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 2c98385 commit fbbbab4Copy full SHA for fbbbab4
tests/asyncio/test_operation_async.py
@@ -164,7 +164,7 @@ async def test_exception():
164
165
@mock.patch("asyncio.sleep", autospec=True)
166
@pytest.mark.asyncio
167
-async def test_unexpected_result(unused_sleep):
+async async def test_unexpected_result(unused_sleep):
168
responses = [
169
make_operation_proto(),
170
# Second operation response is done, but has not error or response.
@@ -178,7 +178,7 @@ async def test_unexpected_result(unused_sleep):
178
179
180
181
-def test_from_gapic():
+async def test_from_gapic():
182
operation_proto = make_operation_proto(done=True)
183
operations_client = mock.create_autospec(
184
operations_v1.OperationsClient, instance=True
0 commit comments