mirror of
https://github.com/home-assistant/core.git
synced 2025-08-03 04:35:11 +02:00
Fix squeezebox test serializing mocks (#144600)
This commit is contained in:
@@ -799,6 +799,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",
|
||||
|
Reference in New Issue
Block a user