From 98e6e20079d96cebeb75089a54f631f166bfd15b Mon Sep 17 00:00:00 2001 From: Joakim Plate Date: Tue, 12 Aug 2025 17:46:31 +0200 Subject: [PATCH] Mock habluetooth adapters (#148919) --- tests/conftest.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/conftest.py b/tests/conftest.py index 9fdf010eb64..acb50b0029c 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -1817,6 +1817,7 @@ async def mock_enable_bluetooth( def mock_bluetooth_adapters() -> Generator[None]: """Fixture to mock bluetooth adapters.""" with ( + patch("habluetooth.util.recover_adapter"), patch("bluetooth_auto_recovery.recover_adapter"), patch("bluetooth_adapters.systems.platform.system", return_value="Linux"), patch("bluetooth_adapters.systems.linux.LinuxAdapters.refresh"),