mirror of
https://github.com/home-assistant/core.git
synced 2025-12-24 21:06:19 +00:00
Remove yaml configuration from fritzbox (#49663)
This commit is contained in:
@@ -7,8 +7,7 @@ import pytest
|
||||
@pytest.fixture(name="fritz")
|
||||
def fritz_fixture() -> Mock:
|
||||
"""Patch libraries."""
|
||||
with patch("homeassistant.components.fritzbox.socket") as socket, patch(
|
||||
"homeassistant.components.fritzbox.Fritzhome"
|
||||
) as fritz, patch("homeassistant.components.fritzbox.config_flow.Fritzhome"):
|
||||
socket.gethostbyname.return_value = "FAKE_IP_ADDRESS"
|
||||
with patch("homeassistant.components.fritzbox.Fritzhome") as fritz, patch(
|
||||
"homeassistant.components.fritzbox.config_flow.Fritzhome"
|
||||
):
|
||||
yield fritz
|
||||
|
||||
Reference in New Issue
Block a user