Fix slow config_flow test in AVM Fritz!SmartHome (#60348)
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…
Reference in New Issue