mirror of
https://github.com/home-assistant/core.git
synced 2025-12-24 04:50:05 +00:00
Add type hints to integration tests (a) (#87684)
* Add type hints to accuweather tests * Adjust a** components * Adjust aiohttp_client * ClientSessionGenerator/WebSocketGenerator
This commit is contained in:
@@ -1,11 +1,12 @@
|
||||
"""Tests for alexa."""
|
||||
from homeassistant.components.alexa.const import EVENT_ALEXA_SMART_HOME
|
||||
from homeassistant.core import HomeAssistant
|
||||
from homeassistant.setup import async_setup_component
|
||||
|
||||
from tests.components.logbook.common import MockRow, mock_humanify
|
||||
|
||||
|
||||
async def test_humanify_alexa_event(hass):
|
||||
async def test_humanify_alexa_event(hass: HomeAssistant) -> None:
|
||||
"""Test humanifying Alexa event."""
|
||||
hass.config.components.add("recorder")
|
||||
await async_setup_component(hass, "alexa", {})
|
||||
|
||||
Reference in New Issue
Block a user