mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 03:07:37 +00:00
Fix flaky qld_bushfire test (#115757)
This commit is contained in:
parent
864c80fa55
commit
3f62267a48
@ -169,7 +169,7 @@ async def test_setup(hass: HomeAssistant, freezer: FrozenDateTimeFactory) -> Non
|
|||||||
[mock_entry_1, mock_entry_4, mock_entry_3],
|
[mock_entry_1, mock_entry_4, mock_entry_3],
|
||||||
)
|
)
|
||||||
async_fire_time_changed(hass, utcnow + SCAN_INTERVAL)
|
async_fire_time_changed(hass, utcnow + SCAN_INTERVAL)
|
||||||
await hass.async_block_till_done()
|
await hass.async_block_till_done(wait_background_tasks=True)
|
||||||
|
|
||||||
all_states = hass.states.async_all()
|
all_states = hass.states.async_all()
|
||||||
assert len(all_states) == 3
|
assert len(all_states) == 3
|
||||||
|
Loading…
x
Reference in New Issue
Block a user