Fix lingering task in timeout test (#88953)

pull/89374/head
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
1 changed files with 3 additions and 0 deletions

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,