Avoid waiting for integration platforms in the parent integration (#112467)
This commit is contained in:
parent
87739bc072
commit
f3a9756f81
29 changed files with 126 additions and 5 deletions
|
@ -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(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue