Update test_client to expect translation args
Signed-off-by: makaveli10 <vineet.suryan@collabora.com>
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user