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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user