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

Commit eb825b3

Browse files
committed
regenerated goldens
1 parent 6077c20 commit eb825b3

File tree

10 files changed

+279
-0
lines changed

10 files changed

+279
-0
lines changed

tests/integration/goldens/asset/tests/unit/gapic/asset_v1/test_asset_service.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18281,6 +18281,7 @@ def test_get_operation(transport: str = "grpc"):
1828118281

1828218282
# Establish that the response is the type that we expect.
1828318283
assert isinstance(response, operations_pb2.Operation)
18284+
1828418285
@pytest.mark.asyncio
1828518286
async def test_get_operation_async(transport: str = "grpc_asyncio"):
1828618287
client = AssetServiceAsyncClient(
@@ -18306,6 +18307,7 @@ async def test_get_operation_async(transport: str = "grpc_asyncio"):
1830618307
# Establish that the response is the type that we expect.
1830718308
assert isinstance(response, operations_pb2.Operation)
1830818309

18310+
1830918311
def test_get_operation_field_headers():
1831018312
client = AssetServiceClient(
1831118313
credentials=ga_credentials.AnonymousCredentials(),
@@ -18329,6 +18331,7 @@ def test_get_operation_field_headers():
1832918331
# Establish that the field header was sent.
1833018332
_, _, kw = call.mock_calls[0]
1833118333
assert ("x-goog-request-params", "name=locations",) in kw["metadata"]
18334+
1833218335
@pytest.mark.asyncio
1833318336
async def test_get_operation_field_headers_async():
1833418337
client = AssetServiceAsyncClient(
@@ -18355,6 +18358,7 @@ async def test_get_operation_field_headers_async():
1835518358
_, _, kw = call.mock_calls[0]
1835618359
assert ("x-goog-request-params", "name=locations",) in kw["metadata"]
1835718360

18361+
1835818362
def test_get_operation_from_dict():
1835918363
client = AssetServiceClient(
1836018364
credentials=ga_credentials.AnonymousCredentials(),
@@ -18370,6 +18374,7 @@ def test_get_operation_from_dict():
1837018374
}
1837118375
)
1837218376
call.assert_called()
18377+
1837318378
@pytest.mark.asyncio
1837418379
async def test_get_operation_from_dict_async():
1837518380
client = AssetServiceAsyncClient(
@@ -18388,6 +18393,7 @@ async def test_get_operation_from_dict_async():
1838818393
)
1838918394
call.assert_called()
1839018395

18396+
1839118397
def test_get_operation_flattened():
1839218398
client = AssetServiceClient(
1839318399
credentials=ga_credentials.AnonymousCredentials(),
@@ -18402,6 +18408,7 @@ def test_get_operation_flattened():
1840218408
assert len(call.mock_calls) == 1
1840318409
_, args, _ = call.mock_calls[0]
1840418410
assert args[0] == operations_pb2.GetOperationRequest()
18411+
1840518412
@pytest.mark.asyncio
1840618413
async def test_get_operation_flattened_async():
1840718414
client = AssetServiceAsyncClient(

0 commit comments

Comments
 (0)