Fix slow config_flow test in upnp (#60377)
This commit is contained in:
parent
b61375e5cb
commit
af8e1143b9
1 changed files with 4 additions and 1 deletions
|
@ -189,7 +189,10 @@ async def ssdp_no_discovery():
|
|||
) as mock_register, patch(
|
||||
"homeassistant.components.ssdp.async_get_discovery_info_by_st",
|
||||
return_value=[],
|
||||
) as mock_get_info:
|
||||
) as mock_get_info, patch(
|
||||
"homeassistant.components.upnp.config_flow.SSDP_SEARCH_TIMEOUT",
|
||||
0.1,
|
||||
):
|
||||
yield (mock_register, mock_get_info)
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue