diff --git a/tests/unit/data/_async/test_client.py b/tests/unit/data/_async/test_client.py index c24fa3d98..57b3c9666 100644 --- a/tests/unit/data/_async/test_client.py +++ b/tests/unit/data/_async/test_client.py @@ -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 @@ -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( @@ -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