mirror of
https://github.com/home-assistant/core.git
synced 2025-08-30 18:01:31 +02:00
Fix RuntimeWarning in squeezebox tests (#150582)
This commit is contained in:
@@ -271,6 +271,7 @@ def mock_pysqueezebox_player(uuid: str) -> MagicMock:
|
||||
"homeassistant.components.squeezebox.Player", autospec=True
|
||||
) as mock_player:
|
||||
mock_player.async_browse = AsyncMock(side_effect=mock_async_browse)
|
||||
mock_player.async_query = AsyncMock(return_value=MagicMock())
|
||||
mock_player.generate_image_url_from_track_id = MagicMock(
|
||||
return_value="http://lms.internal:9000/html/images/favorites.png"
|
||||
)
|
||||
|
Reference in New Issue
Block a user