Skip to content

Commit ded3381

Browse files
committed
fix: restore asyncio designator for async tests
1 parent d6cbe73 commit ded3381

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/asyncio/test_operation_async.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ async def test_constructor():
8383
assert future.metadata is None
8484
assert await future.running()
8585

86-
86+
@pytest.mark.asyncio
8787
def test_metadata():
8888
expected_metadata = struct_pb2.Struct()
8989
future, _, _ = make_operation_future(
@@ -176,6 +176,7 @@ async def test_unexpected_result(unused_sleep):
176176
assert "Unexpected state" in "{!r}".format(exception)
177177

178178

179+
@pytest.mark.asyncio
179180
def test_from_gapic():
180181
operation_proto = make_operation_proto(done=True)
181182
operations_client = mock.create_autospec(

0 commit comments

Comments
 (0)