Make discovery flow tasks background tasks (#116327)
This commit is contained in:
parent
5d59b4cddd
commit
76639252c9
6 changed files with 9 additions and 8 deletions
|
@ -1098,7 +1098,7 @@ async def test_setup_hardware_integration(
|
|||
) as mock_setup_entry,
|
||||
):
|
||||
result = await async_setup_component(hass, "hassio", {"hassio": {}})
|
||||
await hass.async_block_till_done()
|
||||
await hass.async_block_till_done(wait_background_tasks=True)
|
||||
|
||||
assert result
|
||||
assert aioclient_mock.call_count == 19
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue