mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-01 02:22:21 +02:00
23 lines
786 B
Diff
23 lines
786 B
Diff
diff --git a/tests/asyncio/test_operation_async.py b/tests/asyncio/test_operation_async.py
|
|
index 9d9fb5d..5b2f012 100644
|
|
--- a/tests/asyncio/test_operation_async.py
|
|
+++ b/tests/asyncio/test_operation_async.py
|
|
@@ -85,7 +85,7 @@ async def test_constructor():
|
|
|
|
|
|
@pytest.mark.asyncio
|
|
-def test_metadata():
|
|
+async def test_metadata():
|
|
expected_metadata = struct_pb2.Struct()
|
|
future, _, _ = make_operation_future(
|
|
[make_operation_proto(metadata=expected_metadata)]
|
|
@@ -178,7 +178,7 @@ async def test_unexpected_result(unused_sleep):
|
|
|
|
|
|
@pytest.mark.asyncio
|
|
-def test_from_gapic():
|
|
+async def test_from_gapic():
|
|
operation_proto = make_operation_proto(done=True)
|
|
operations_client = mock.create_autospec(
|
|
operations_v1.OperationsClient, instance=True
|