mirror of
https://github.com/home-assistant/core.git
synced 2026-10-06 14:29:21 -04:00
Fix flaky nest test_remove_stale_media (#183728)
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
c748c9eec9
commit
cac393104b
@@ -1694,8 +1694,7 @@ async def test_remove_stale_media(
|
||||
point_in_time = dt_util.utcnow() + datetime.timedelta(days=1)
|
||||
with freeze_time(point_in_time):
|
||||
async_fire_time_changed(hass, point_in_time)
|
||||
await hass.async_block_till_done()
|
||||
await hass.async_block_till_done()
|
||||
await hass.async_block_till_done(wait_background_tasks=True)
|
||||
|
||||
# Verify that the event media is still present and that the extra files
|
||||
# are removed. Newer media is not removed.
|
||||
|
||||
Reference in New Issue
Block a user