Add type hints to integration tests (part 11) (#87996)

This commit is contained in:
epenet 2023-02-13 14:22:49 +01:00 committed by GitHub
parent 8f2a764a43
commit 1e352b60df
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
48 changed files with 610 additions and 307 deletions

View file

@ -2,6 +2,7 @@
from datetime import timedelta
from http import HTTPStatus
import re
from typing import Any
from unittest.mock import patch
import pytest
@ -189,7 +190,7 @@ async def test_themes_api(hass: HomeAssistant, themes_ws_client) -> None:
async def test_themes_persist(
hass: HomeAssistant,
hass_storage,
hass_storage: dict[str, Any],
hass_ws_client: WebSocketGenerator,
ignore_frontend_deps,
) -> None:
@ -214,7 +215,7 @@ async def test_themes_persist(
async def test_themes_save_storage(
hass: HomeAssistant, hass_storage, frontend_themes
hass: HomeAssistant, hass_storage: dict[str, Any], frontend_themes
) -> None:
"""Test that theme settings are restores after restart."""