Update test_client to expect translation args

Signed-off-by: makaveli10 <vineet.suryan@collabora.com>
This commit is contained in:
makaveli10
2025-07-22 09:06:31 +00:00
parent 39dfd7521f
commit 5ce401d4c6
+2
View File
@@ -53,6 +53,8 @@ class TestClientCallbacks(BaseTestCase):
"no_speech_thresh": 0.45, "no_speech_thresh": 0.45,
"clip_audio": False, "clip_audio": False,
"same_output_threshold": 10, "same_output_threshold": 10,
"enable_translation": False,
"target_language": "fr",
}) })
self.client.on_open(self.mock_ws_app) self.client.on_open(self.mock_ws_app)
self.mock_ws_app.send.assert_called_with(expected_message) self.mock_ws_app.send.assert_called_with(expected_message)