Skip to content

Commit

Permalink
updated tests
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-sanche committed Nov 22, 2024
1 parent 48b7a5e commit ad2a035
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/unit/data/_async/test_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -1069,7 +1069,7 @@ async def test_table_ctor_defaults(self):
await CrossSync.yield_to_event_loop()
assert table.table_id == expected_table_id
assert table.instance_id == expected_instance_id
assert table.app_profile_id is None
assert table.app_profile_id == "default"
assert table.client is client
assert table.default_operation_timeout == 60
assert table.default_read_rows_operation_timeout == 600
Expand Down Expand Up @@ -1290,7 +1290,7 @@ async def test_call_metadata(self, include_app_profile, fn_name, fn_args, gapic_
if include_app_profile:
assert "app_profile_id=profile" in routing_str
else:
assert "app_profile_id=" not in routing_str
assert "app_profile_id=default" in routing_str


@CrossSync.convert_class(
Expand Down Expand Up @@ -2938,7 +2938,7 @@ async def test_read_modify_write_call_defaults(self):
kwargs["table_name"]
== f"projects/{project}/instances/{instance}/tables/{table_id}"
)
assert kwargs["app_profile_id"] is None
assert kwargs["app_profile_id"] == "default"
assert kwargs["row_key"] == row_key.encode()
assert kwargs["timeout"] > 1

Expand Down

0 comments on commit ad2a035

Please sign in to comment.