diff --git a/tests/components/fritzbox/test_config_flow.py b/tests/components/fritzbox/test_config_flow.py index ce38a1a38c8..a3b258d405e 100644 --- a/tests/components/fritzbox/test_config_flow.py +++ b/tests/components/fritzbox/test_config_flow.py @@ -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