Add return type hints in tests (a-i) (#118939)

This commit is contained in:
epenet
2024-06-06 12:17:08 +02:00
committed by GitHub
parent 6e8d6f5994
commit 492b158818
28 changed files with 82 additions and 78 deletions

View File

@@ -77,7 +77,7 @@ class MockFFmpegDev(ffmpeg.FFmpegBase):
self.called_entities = entity_ids
def test_setup_component():
def test_setup_component() -> None:
"""Set up ffmpeg component."""
with get_test_home_assistant() as hass:
with assert_setup_component(1):
@@ -87,7 +87,7 @@ def test_setup_component():
hass.stop()
def test_setup_component_test_service():
def test_setup_component_test_service() -> None:
"""Set up ffmpeg component test services."""
with get_test_home_assistant() as hass:
with assert_setup_component(1):