mirror of
https://github.com/home-assistant/core.git
synced 2025-08-03 04:35:11 +02:00
Improve type hints in universal tests (#123920)
This commit is contained in:
@@ -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()
|
||||
|
||||
|
Reference in New Issue
Block a user