mirror of
https://github.com/home-assistant/core.git
synced 2025-07-17 10:17:09 +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
|
@pytest.fixture
|
||||||
async def mock_states(hass):
|
async def mock_states(hass: HomeAssistant) -> Mock:
|
||||||
"""Set mock states used in tests."""
|
"""Set mock states used in tests."""
|
||||||
result = Mock()
|
result = Mock()
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user