mirror of
https://github.com/home-assistant/core.git
synced 2025-11-13 13:00:11 +00:00
Validate go2rtc server version (#129810)
This commit is contained in:
@@ -23,6 +23,7 @@ def rest_client() -> Generator[AsyncMock]:
|
||||
client = mock_client.return_value
|
||||
client.streams = streams = Mock(spec_set=_StreamClient)
|
||||
streams.list.return_value = {}
|
||||
client.validate_server_version = AsyncMock()
|
||||
client.webrtc = Mock(spec_set=_WebRTCClient)
|
||||
yield client
|
||||
|
||||
|
||||
Reference in New Issue
Block a user