Improve type hints in tests (q-z) (#118381)
This commit is contained in:
parent
242ee04642
commit
1317837986
17 changed files with 74 additions and 40 deletions
|
@ -2,6 +2,7 @@
|
|||
|
||||
from datetime import timedelta
|
||||
import logging
|
||||
from typing import Any
|
||||
from unittest.mock import patch
|
||||
|
||||
import pytest
|
||||
|
@ -59,7 +60,7 @@ _LOGGER = logging.getLogger(__name__)
|
|||
|
||||
|
||||
@pytest.fixture
|
||||
def storage_setup(hass: HomeAssistant, hass_storage):
|
||||
def storage_setup(hass: HomeAssistant, hass_storage: dict[str, Any]):
|
||||
"""Storage setup."""
|
||||
|
||||
async def _storage(items=None, config=None):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue