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

Improve type hints in tests (i-p) (#118380)

This commit is contained in:
epenet
2024-05-30 08:47:08 +02:00
committed by GitHub
parent 092cdcfe91
commit 242ee04642
18 changed files with 78 additions and 27 deletions

View File

@@ -1,5 +1,6 @@
"""The tests for the Input number component."""
from typing import Any
from unittest.mock import patch
import pytest
@@ -29,7 +30,7 @@ from tests.typing import WebSocketGenerator
@pytest.fixture
def storage_setup(hass, hass_storage):
def storage_setup(hass: HomeAssistant, hass_storage: dict[str, Any]):
"""Storage setup."""
async def _storage(items=None, config=None):