Improve type hints in universal tests (#123920)

This commit is contained in:
epenet 2024-08-14 15:02:52 +02:00 committed by GitHub
parent 67f761c0e9
commit 7f6bf95aa6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -220,7 +220,7 @@ class MockMediaPlayer(media_player.MediaPlayerEntity):
@pytest.fixture
async def mock_states(hass):
async def mock_states(hass: HomeAssistant) -> Mock:
"""Set mock states used in tests."""
result = Mock()