mirror of
https://github.com/home-assistant/core.git
synced 2025-04-23 16:57:53 +00:00
Fix slow config_flow test in squeezebox (#60373)
This commit is contained in:
parent
7613c6fd4c
commit
16eb85bfc8
@ -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},
|
||||
|
Loading…
x
Reference in New Issue
Block a user