Follow up on comments on changes bootstrap tests (#91803)

* Remove commented code

* Add comment to explain mock

* typo
This commit is contained in:
Jan Bouwhuis
2023-04-21 20:44:14 +02:00
committed by GitHub
parent 5e243da470
commit 4de124cdd5

View File

@@ -886,8 +886,10 @@ 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": {