Improve type hints in person tests (#123871)

This commit is contained in:
epenet
2024-08-14 13:00:07 +02:00
committed by GitHub
parent 8117532cc7
commit f414f5d77a

View File

@ -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(