mirror of
https://github.com/home-assistant/core.git
synced 2025-07-16 09:47:13 +00:00
Improve type hints in universal tests (#123920)
This commit is contained in:
parent
67f761c0e9
commit
7f6bf95aa6
@ -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()
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user