1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-24 12:59:34 +00:00

Mock out network.util.async_get_source_ip in tests (#57039)

This commit is contained in:
Erik Montnemery
2021-10-04 15:33:13 +02:00
committed by GitHub
parent 70f4bdf63e
commit 582788026a
2 changed files with 3 additions and 3 deletions

View File

@@ -6,7 +6,7 @@ from homeassistant.components.zeroconf import MDNS_TARGET_IP
from tests.common import MockConfigEntry
async def test_basic_setup(hass):
async def test_basic_setup(hass, mock_get_source_ip):
"""Test component setup creates entry from config."""
entry = MockConfigEntry(domain=DOMAIN, data={})
entry.add_to_hass(hass)