diff --git a/tests/test_bootstrap.py b/tests/test_bootstrap.py index c317bcaae35..be01a4eeb0d 100644 --- a/tests/test_bootstrap.py +++ b/tests/test_bootstrap.py @@ -886,10 +886,8 @@ async def test_bootstrap_dependencies( dependencies=["file_upload", "http"], ), ) - - # We mock the MQTT integration and integrations that depend on it - # to make sure that core tests will not fail when non core components are changed mqtt_integration._import_platform = Mock() + # mqtt_integration.async_migrate = AsyncMock(return_value=False) integrations = { "mqtt": {