mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 13:17:32 +00:00
Improve comment on patching the _import method in test bootstrap dependencies test (#91848)
This commit is contained in:
parent
624b8d1cbd
commit
fc0c8bf113
@ -887,8 +887,8 @@ async def test_bootstrap_dependencies(
|
||||
),
|
||||
)
|
||||
|
||||
# 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
|
||||
# We patch the _import platform method to avoid loading the platform module
|
||||
# to avoid depending on non core components in the tests.
|
||||
mqtt_integration._import_platform = Mock()
|
||||
|
||||
integrations = {
|
||||
|
Loading…
x
Reference in New Issue
Block a user