mirror of
https://github.com/home-assistant/core.git
synced 2025-07-15 09:17:10 +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(
|
||||
return_value={"uuid": format_mac(uuid), "version": FAKE_VERSION}
|
||||
)
|
||||
mock_lms.async_prepared_status = mock_lms.async_status
|
||||
return mock_lms
|
||||
|
||||
|
||||
|
@ -831,6 +831,8 @@ 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",
|
||||
|
Loading…
x
Reference in New Issue
Block a user