Fix race in conversation test_todo_add_item_fr (#182205)

This commit is contained in:
epenet
2026-09-14 16:03:03 +01:00
committed by GitHub
parent b0e7823279
commit 90da9856d6
@@ -448,6 +448,8 @@ async def test_todo_add_item_fr(
) -> None:
"""Test that wildcard matches prioritize results with more literal text matched."""
assert await async_setup_component(hass, todo.DOMAIN, {})
# The todo intent handlers are registered by a background task
await hass.async_block_till_done()
hass.states.async_set("todo.liste_des_courses", 0, {})
with (