Avoid waiting for integration platforms in the parent integration (#112467)

This commit is contained in:
J. Nick Koston 2024-03-05 21:16:42 -10:00 committed by GitHub
parent 87739bc072
commit f3a9756f81
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
29 changed files with 126 additions and 5 deletions

View file

@ -18,6 +18,7 @@ async def test_hardware_info(
"""Test we can get the board info."""
mock_integration(hass, MockModule("hassio"))
await async_setup_component(hass, HASSIO_DOMAIN, {})
await hass.async_block_till_done()
# Setup the config entry
config_entry = MockConfigEntry(
@ -70,6 +71,7 @@ async def test_hardware_info_fail(
"""Test async_info raises if os_info is not as expected."""
mock_integration(hass, MockModule("hassio"))
await async_setup_component(hass, HASSIO_DOMAIN, {})
await hass.async_block_till_done()
# Setup the config entry
config_entry = MockConfigEntry(