mirror of
https://github.com/home-assistant/core.git
synced 2025-08-01 03:35:09 +02:00
squeezebox Better result for testing (#144622)
This commit is contained in:
@@ -327,6 +327,7 @@ def mock_pysqueezebox_server(
|
||||
mock_lms.async_status = AsyncMock(
|
||||
return_value={"uuid": format_mac(uuid), "version": FAKE_VERSION}
|
||||
)
|
||||
mock_lms.async_prepared_status = mock_lms.async_status
|
||||
return mock_lms
|
||||
|
||||
|
||||
|
@@ -831,8 +831,6 @@ async def test_squeezebox_server_discovery(
|
||||
"""Mock the async_discover function of pysqueezebox."""
|
||||
return callback(lms_factory(2))
|
||||
|
||||
lms.async_prepared_status.return_value = {}
|
||||
|
||||
with (
|
||||
patch(
|
||||
"homeassistant.components.squeezebox.Server",
|
||||
|
Reference in New Issue
Block a user