Add missing argument type hints to component tests (#119671)

This commit is contained in:
epenet 2024-06-14 09:26:46 +02:00 committed by GitHub
parent 83b97d3218
commit 3e9d25f81d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
47 changed files with 135 additions and 67 deletions

View file

@ -7,6 +7,7 @@ from pydexcom import GlucoseReading
from homeassistant.components.dexcom.const import CONF_SERVER, DOMAIN, SERVER_US
from homeassistant.const import CONF_PASSWORD, CONF_USERNAME
from homeassistant.core import HomeAssistant
from tests.common import MockConfigEntry, load_fixture
@ -19,7 +20,7 @@ CONFIG = {
GLUCOSE_READING = GlucoseReading(json.loads(load_fixture("data.json", "dexcom")))
async def init_integration(hass) -> MockConfigEntry:
async def init_integration(hass: HomeAssistant) -> MockConfigEntry:
"""Set up the Dexcom integration in Home Assistant."""
entry = MockConfigEntry(
domain=DOMAIN,