Add return type hints in tests (k-z) (#118942)

This commit is contained in:
epenet 2024-06-06 10:11:29 +02:00 committed by GitHub
parent b5b7c9bcd5
commit c7cc465e5c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
26 changed files with 79 additions and 76 deletions

View file

@ -5,7 +5,7 @@ from unittest.mock import Mock
from homeassistant.components.logbook.models import LazyEventPartialState
def test_lazy_event_partial_state_context():
def test_lazy_event_partial_state_context() -> None:
"""Test we can extract context from a lazy event partial state."""
state = LazyEventPartialState(
Mock(