mirror of
https://github.com/home-assistant/core.git
synced 2026-04-27 20:23:58 +01:00
Improve type hints in tests (i-p) (#118380)
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
"""The tests for the input_test component."""
|
||||
|
||||
import logging
|
||||
from typing import Any
|
||||
from unittest.mock import patch
|
||||
|
||||
import pytest
|
||||
@@ -27,7 +28,7 @@ _LOGGER = logging.getLogger(__name__)
|
||||
|
||||
|
||||
@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):
|
||||
|
||||
Reference in New Issue
Block a user