From fb5f30e9cfbbd42d43ccec74b03ca4741382cfa4 Mon Sep 17 00:00:00 2001 From: Jan Bouwhuis Date: Fri, 21 Apr 2023 23:02:02 +0200 Subject: [PATCH] Revert "Follow up on comments on changes bootstrap tests (#91803)" This reverts commit 4de124cdd5586c566db7351400e8cabd3d3075bc. --- tests/test_bootstrap.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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": {