1
0
mirror of https://github.com/home-assistant/core.git synced 2026-02-14 23:28:42 +00:00

Fix lingering test_waiting_for_client_not_loaded test (#162994)

This commit is contained in:
Jan Bouwhuis
2026-02-14 13:55:12 +01:00
committed by GitHub
parent 10fa02a36c
commit aca7fe530c

View File

@@ -243,7 +243,9 @@ async def test_waiting_for_client_not_loaded(
hass.async_create_task(_async_just_in_time_subscribe())
assert entry.state is ConfigEntryState.NOT_LOADED
assert len(unsubs) == 0
assert await hass.config_entries.async_setup(entry.entry_id)
await hass.async_block_till_done()
assert len(unsubs) == 4
for unsub in unsubs:
unsub()