From 16eb85bfc85c65b6053bf224db6239fbee561b6d Mon Sep 17 00:00:00 2001 From: Michael <35783820+mib1185@users.noreply.github.com> Date: Thu, 25 Nov 2021 23:26:28 +0100 Subject: [PATCH] Fix slow config_flow test in squeezebox (#60373) --- tests/components/squeezebox/test_config_flow.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/components/squeezebox/test_config_flow.py b/tests/components/squeezebox/test_config_flow.py index df6d27572b8..70f5f1233d7 100644 --- a/tests/components/squeezebox/test_config_flow.py +++ b/tests/components/squeezebox/test_config_flow.py @@ -1,4 +1,5 @@ """Test the Logitech Squeezebox config flow.""" + from http import HTTPStatus from unittest.mock import patch @@ -215,7 +216,7 @@ async def test_dhcp_discovery_no_server_found(hass): with patch( "homeassistant.components.squeezebox.config_flow.async_discover", mock_failed_discover, - ): + ), patch("homeassistant.components.squeezebox.config_flow.TIMEOUT", 0.1): result = await hass.config_entries.flow.async_init( DOMAIN, context={"source": config_entries.SOURCE_DHCP},