mirror of
https://github.com/home-assistant/core.git
synced 2025-07-25 06:07:17 +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
|
# 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 = {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user