mirror of
https://github.com/home-assistant/core.git
synced 2025-07-18 18:57:06 +00:00
This reverts commit 987af8f7df2d027b27f69d49203bac57972703db.
This commit is contained in:
parent
c20ad5fde1
commit
181a3d142e
@ -327,7 +327,6 @@ def mock_pysqueezebox_server(
|
|||||||
mock_lms.async_status = AsyncMock(
|
mock_lms.async_status = AsyncMock(
|
||||||
return_value={"uuid": format_mac(uuid), "version": FAKE_VERSION}
|
return_value={"uuid": format_mac(uuid), "version": FAKE_VERSION}
|
||||||
)
|
)
|
||||||
mock_lms.async_prepared_status = mock_lms.async_status
|
|
||||||
return mock_lms
|
return mock_lms
|
||||||
|
|
||||||
|
|
||||||
|
@ -831,6 +831,8 @@ async def test_squeezebox_server_discovery(
|
|||||||
"""Mock the async_discover function of pysqueezebox."""
|
"""Mock the async_discover function of pysqueezebox."""
|
||||||
return callback(lms_factory(2))
|
return callback(lms_factory(2))
|
||||||
|
|
||||||
|
lms.async_prepared_status.return_value = {}
|
||||||
|
|
||||||
with (
|
with (
|
||||||
patch(
|
patch(
|
||||||
"homeassistant.components.squeezebox.Server",
|
"homeassistant.components.squeezebox.Server",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user