Skip to content

Commit ad2a035

Browse files
committed
updated tests
1 parent 48b7a5e commit ad2a035

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/unit/data/_async/test_client.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1069,7 +1069,7 @@ async def test_table_ctor_defaults(self):
10691069
await CrossSync.yield_to_event_loop()
10701070
assert table.table_id == expected_table_id
10711071
assert table.instance_id == expected_instance_id
1072-
assert table.app_profile_id is None
1072+
assert table.app_profile_id == "default"
10731073
assert table.client is client
10741074
assert table.default_operation_timeout == 60
10751075
assert table.default_read_rows_operation_timeout == 600
@@ -1290,7 +1290,7 @@ async def test_call_metadata(self, include_app_profile, fn_name, fn_args, gapic_
12901290
if include_app_profile:
12911291
assert "app_profile_id=profile" in routing_str
12921292
else:
1293-
assert "app_profile_id=" not in routing_str
1293+
assert "app_profile_id=default" in routing_str
12941294

12951295

12961296
@CrossSync.convert_class(
@@ -2938,7 +2938,7 @@ async def test_read_modify_write_call_defaults(self):
29382938
kwargs["table_name"]
29392939
== f"projects/{project}/instances/{instance}/tables/{table_id}"
29402940
)
2941-
assert kwargs["app_profile_id"] is None
2941+
assert kwargs["app_profile_id"] == "default"
29422942
assert kwargs["row_key"] == row_key.encode()
29432943
assert kwargs["timeout"] > 1
29442944

0 commit comments

Comments
 (0)