mirror of
https://github.com/home-assistant/core.git
synced 2025-07-25 06:07:17 +00:00
Fix squeezebox test serializing mocks (#144600)
This commit is contained in:
parent
35ab2a21d6
commit
45c0a19a68
@ -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",
|
||||
|
Loading…
x
Reference in New Issue
Block a user