mirror of
https://github.com/home-assistant/core.git
synced 2025-11-27 19:48:01 +00:00
Avoid waiting for integration platforms in the parent integration (#112467)
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user