Mock out network.util.async_get_source_ip in tests (#56339)
This commit is contained in:
parent
0830100df1
commit
be0819b456
4 changed files with 9 additions and 3 deletions
|
@ -14,7 +14,7 @@ from homeassistant.setup import async_setup_component
|
|||
from tests.components.logbook.test_init import MockLazyEventPartialState
|
||||
|
||||
|
||||
async def test_humanify_homekit_changed_event(hass, hk_driver):
|
||||
async def test_humanify_homekit_changed_event(hass, hk_driver, mock_get_source_ip):
|
||||
"""Test humanifying HomeKit changed event."""
|
||||
hass.config.components.add("recorder")
|
||||
with patch("homeassistant.components.homekit.HomeKit"):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue