mirror of
https://github.com/home-assistant/core.git
synced 2025-07-26 06:37:52 +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."""
|
"""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