mirror of
https://github.com/home-assistant/core.git
synced 2025-07-22 20:57:21 +00:00
Improve type hints in person tests (#123871)
This commit is contained in:
parent
8117532cc7
commit
f414f5d77a
@ -18,7 +18,7 @@ DEVICE_TRACKER_2 = "device_tracker.test_tracker_2"
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
def storage_collection(hass):
|
||||
def storage_collection(hass: HomeAssistant) -> person.PersonStorageCollection:
|
||||
"""Return an empty storage collection."""
|
||||
id_manager = collection.IDManager()
|
||||
return person.PersonStorageCollection(
|
||||
|
Loading…
x
Reference in New Issue
Block a user