1
0
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:
Erik Montnemery
2021-09-18 09:40:58 +02:00
committed by GitHub
parent 0830100df1
commit be0819b456
4 changed files with 9 additions and 3 deletions

View File

@@ -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"})