Fix slow config_flow test in AVM Fritz!SmartHome (#60348)

pull/60358/head
Michael 2021-11-25 18:48:17 +01:00 committed by GitHub
parent b724672dd8
commit 78305ac6ae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -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