Correct typing on hass_storage fixure (#87986)
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
This commit is contained in:
parent
dc8ceaf4bf
commit
950ee34514
4 changed files with 21 additions and 7 deletions
|
@ -302,7 +302,7 @@ def bcrypt_cost() -> Generator[None, None, None]:
|
|||
|
||||
|
||||
@pytest.fixture
|
||||
def hass_storage():
|
||||
def hass_storage() -> Generator[dict[str, Any], None, None]:
|
||||
"""Fixture to mock storage."""
|
||||
with mock_storage() as stored_data:
|
||||
yield stored_data
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue