mirror of
https://github.com/home-assistant/core.git
synced 2025-12-24 04:50:05 +00:00
Mock out network.util.async_get_source_ip in tests (#56339)
This commit is contained in:
@@ -29,6 +29,6 @@ def recorder_url_mock():
|
||||
yield
|
||||
|
||||
|
||||
async def test_setup(hass, mock_zeroconf):
|
||||
async def test_setup(hass, mock_zeroconf, mock_get_source_ip):
|
||||
"""Test setup."""
|
||||
assert await async_setup_component(hass, "default_config", {"foo": "bar"})
|
||||
|
||||
Reference in New Issue
Block a user