test: add new parameters to tests
This commit is contained in:
@@ -51,6 +51,10 @@ class TestClientCallbacks(BaseTestCase):
|
|||||||
"use_vad": True,
|
"use_vad": True,
|
||||||
"max_clients": 4,
|
"max_clients": 4,
|
||||||
"max_connection_time": 600,
|
"max_connection_time": 600,
|
||||||
|
"send_last_n_segments": 10,
|
||||||
|
"no_speech_thresh": 0.45,
|
||||||
|
"clip_audio": False,
|
||||||
|
"same_output_threshold": 10,
|
||||||
})
|
})
|
||||||
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