1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-24 12:59:34 +00:00

Add type hints to integration tests (part 13) (#87998)

This commit is contained in:
epenet
2023-02-13 14:38:37 +01:00
committed by GitHub
parent c557cd2b1e
commit ea11a30a35
53 changed files with 798 additions and 404 deletions

View File

@@ -1,10 +1,15 @@
"""The tests for the litejet component."""
from homeassistant.core import HomeAssistant
from . import async_init_integration
from tests.components.diagnostics import get_diagnostics_for_config_entry
from tests.typing import ClientSessionGenerator
async def test_diagnostics(hass, hass_client, mock_litejet):
async def test_diagnostics(
hass: HomeAssistant, hass_client: ClientSessionGenerator, mock_litejet
) -> None:
"""Test getting the LiteJet diagnostics."""
config_entry = await async_init_integration(hass)