mirror of
https://github.com/home-assistant/core.git
synced 2025-11-12 20:40:18 +00:00
Improve type hints in tests (a-h) (#118379)
This commit is contained in:
@@ -580,13 +580,13 @@ async def test_no_alerts(
|
||||
)
|
||||
async def test_alerts_change(
|
||||
hass: HomeAssistant,
|
||||
hass_ws_client,
|
||||
hass_ws_client: WebSocketGenerator,
|
||||
aioclient_mock: AiohttpClientMocker,
|
||||
ha_version: str,
|
||||
fixture_1: str,
|
||||
expected_alerts_1: list[tuple(str, str)],
|
||||
expected_alerts_1: list[tuple[str, str]],
|
||||
fixture_2: str,
|
||||
expected_alerts_2: list[tuple(str, str)],
|
||||
expected_alerts_2: list[tuple[str, str]],
|
||||
) -> None:
|
||||
"""Test creating issues based on alerts."""
|
||||
fixture_1_content = load_fixture(fixture_1, "homeassistant_alerts")
|
||||
|
||||
Reference in New Issue
Block a user