1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-24 12:59:34 +00:00

Only wait for import flows in setup of there is a config flow (#113780)

This commit is contained in:
J. Nick Koston
2024-03-19 10:38:27 -10:00
committed by GitHub
parent c52ee2a898
commit 879e5bc961
3 changed files with 14 additions and 6 deletions

View File

@@ -1121,6 +1121,7 @@ async def test_bootstrap_dependencies(
# 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()
mqtt_integration.platforms_exists = Mock(return_value=True)
integrations = {
"mqtt": {