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
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
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: