Improve comment on patching the _import method in test bootstrap dependencies test (#91848)

This commit is contained in:
Jan Bouwhuis
2023-04-22 13:40:38 +02:00
committed by GitHub
parent 624b8d1cbd
commit fc0c8bf113

View File

@@ -887,8 +887,8 @@ async def test_bootstrap_dependencies(
), ),
) )
# We mock the MQTT integration and integrations that depend on it # We patch the _import platform method to avoid loading the platform module
# to make sure that core tests will not fail when non core components are changed # to avoid depending on non core components in the tests.
mqtt_integration._import_platform = Mock() mqtt_integration._import_platform = Mock()
integrations = { integrations = {