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

@ -10,7 +10,7 @@ from homeassistant.core import HomeAssistant
from tests.common import MockConfigEntry
async def test_basic_setup(hass: HomeAssistant, mock_get_source_ip) -> None:
async def test_basic_setup(hass: HomeAssistant) -> None:
"""Test component setup creates entry from config."""
entry = MockConfigEntry(domain=DOMAIN, data={})
entry.add_to_hass(hass)