Revert "squeezebox Better result for testing (#144622)" (#145739)

This reverts commit 987af8f7df2d027b27f69d49203bac57972703db.
This commit is contained in:
Jan Bouwhuis 2025-05-27 21:36:51 +02:00 committed by GitHub
parent c20ad5fde1
commit 181a3d142e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 1 deletions

View File

@ -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

View File

@ -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",