From 0e7bd401f28b15c649090ff5244c115318c526f7 Mon Sep 17 00:00:00 2001 From: epenet <6771947+epenet@users.noreply.github.com> Date: Sun, 19 Mar 2023 08:56:24 +0100 Subject: [PATCH] Fix lingering timer in config entry flow tests (#89853) --- tests/helpers/test_config_entry_flow.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/helpers/test_config_entry_flow.py b/tests/helpers/test_config_entry_flow.py index 90d8030be79..23f6571e8bc 100644 --- a/tests/helpers/test_config_entry_flow.py +++ b/tests/helpers/test_config_entry_flow.py @@ -355,6 +355,7 @@ async def test_webhook_config_flow_registers_webhook( assert result["data"]["webhook_id"] is not None +@patch("homeassistant.components.cloud.STARTUP_REPAIR_DELAY", 0) async def test_webhook_create_cloudhook( hass: HomeAssistant, webhook_flow_conf: None ) -> None: @@ -410,6 +411,7 @@ async def test_webhook_create_cloudhook( assert result["require_restart"] is False +@patch("homeassistant.components.cloud.STARTUP_REPAIR_DELAY", 0) async def test_webhook_create_cloudhook_aborts_not_connected( hass: HomeAssistant, webhook_flow_conf: None ) -> None: