From ade4ee810b59effb6d87ab0371e43afe9a1173c5 Mon Sep 17 00:00:00 2001 From: Lenn <78048721+LennP@users.noreply.github.com> Date: Tue, 24 Sep 2024 15:05:00 +0200 Subject: [PATCH] Fix motionblinds_ble sensor tests (#126635) --- tests/components/motionblinds_ble/conftest.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/components/motionblinds_ble/conftest.py b/tests/components/motionblinds_ble/conftest.py index ffd3bc5a2ab..ef4f2e1e15d 100644 --- a/tests/components/motionblinds_ble/conftest.py +++ b/tests/components/motionblinds_ble/conftest.py @@ -19,6 +19,11 @@ from tests.common import MockConfigEntry from tests.components.bluetooth import generate_advertisement_data, generate_ble_device +@pytest.fixture(autouse=True) +def mock_bluetooth(enable_bluetooth: None) -> None: + """Auto mock bluetooth.""" + + @pytest.fixture def address() -> str: """Address fixture."""