mirror of
https://github.com/home-assistant/core.git
synced 2025-07-18 18:57:06 +00:00
Fix slow config_flow test in AVM Fritz!SmartHome (#60348)
This commit is contained in:
parent
b724672dd8
commit
78305ac6ae
@ -38,7 +38,9 @@ MOCK_SSDP_DATA = ssdp.SsdpServiceInfo(
|
||||
@pytest.fixture(name="fritz")
|
||||
def fritz_fixture() -> Mock:
|
||||
"""Patch libraries."""
|
||||
with patch("homeassistant.components.fritzbox.config_flow.Fritzhome") as fritz:
|
||||
with patch("homeassistant.components.fritzbox.async_setup_entry"), patch(
|
||||
"homeassistant.components.fritzbox.config_flow.Fritzhome"
|
||||
) as fritz:
|
||||
yield fritz
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user