From 90da9856d6601116d8979715a0715695bac76a3b Mon Sep 17 00:00:00 2001 From: epenet <6771947+epenet@users.noreply.github.com> Date: Mon, 14 Sep 2026 17:03:03 +0200 Subject: [PATCH] Fix race in conversation test_todo_add_item_fr (#182205) --- tests/components/conversation/test_default_agent_intents.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/components/conversation/test_default_agent_intents.py b/tests/components/conversation/test_default_agent_intents.py index 011aefe83223..621064293755 100644 --- a/tests/components/conversation/test_default_agent_intents.py +++ b/tests/components/conversation/test_default_agent_intents.py @@ -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 (