mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 13:17:32 +00:00
Fix cambridge_audio RuntimeWarning during tests (#129191)
This commit is contained in:
parent
9f6569d658
commit
ababa639b3
@ -66,7 +66,7 @@ def mock_stream_magic_client() -> Generator[AsyncMock]:
|
||||
)
|
||||
client.is_connected = Mock(return_value=True)
|
||||
client.position_last_updated = client.play_state.position
|
||||
client.unregister_state_update_callbacks = AsyncMock(return_value=True)
|
||||
client.unregister_state_update_callbacks.return_value = True
|
||||
|
||||
yield client
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user