Fix lingering task in timeout test (#88953)

This commit is contained in:
epenet 2023-03-01 09:42:55 +01:00 committed by GitHub
parent 1fa3f32474
commit ed3cdd8fb9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -273,6 +273,9 @@ async def test_mix_zone_timeout_trigger_global_cool_down() -> None:
await asyncio.sleep(0.2)
# Cleanup lingering (cool_down) task after test is done
await asyncio.sleep(0.3)
async def test_simple_zone_timeout_freeze_without_timeout_cleanup(
hass: HomeAssistant,