From 1c671be1bd4e4277b53fc0ab963021932bce5dda Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Wed, 12 Aug 2026 15:04:26 -0500 Subject: [PATCH] Use the merged ledger accessor in the explicit-connections test --- tests/component_tests/bluetooth_proxy/test_platform_gates.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/component_tests/bluetooth_proxy/test_platform_gates.py b/tests/component_tests/bluetooth_proxy/test_platform_gates.py index 9190a80f41..02504c7e9e 100644 --- a/tests/component_tests/bluetooth_proxy/test_platform_gates.py +++ b/tests/component_tests/bluetooth_proxy/test_platform_gates.py @@ -195,7 +195,7 @@ def test_esp32_explicit_connections_claim_gatt_slots( bluetooth_proxy.CONFIG_SCHEMA({"active": True, "connections": [{}, {}]}) # Exact match (one entry per slot): catches a missed charge and a # double charge alike. - assert bluetooth_connection._ledger().consumers == ["bluetooth_proxy"] * 2 + assert bluetooth_connection._get_data().slot_consumers == ["bluetooth_proxy"] * 2 def test_hub_source_filter_covers_every_hub_platform() -> None: