Cleanup mock_get_source_ip from tests (#118459)

This commit is contained in:
epenet
2024-05-30 09:37:01 +02:00
committed by GitHub
parent 9221eeb2f7
commit c6e0e93680
26 changed files with 53 additions and 171 deletions

View File

@@ -26,9 +26,7 @@ from tests.common import MockConfigEntry
from tests.components.logbook.common import MockRow, mock_humanify
async def test_humanify_homekit_changed_event(
hass: HomeAssistant, hk_driver, mock_get_source_ip
) -> None:
async def test_humanify_homekit_changed_event(hass: HomeAssistant, hk_driver) -> None:
"""Test humanifying HomeKit changed event."""
hass.config.components.add("recorder")
with patch("homeassistant.components.homekit.HomeKit") as mock_homekit: