Mock Voxtral adapter validation in streaming coercion test
Signed-off-by: Sy03 <1370724210@qq.com>
This commit is contained in:
1 parent
caf3b32253
commit
88dd97bc29
1 file changed
+1
-1
@@ -3419,7 +3419,7 @@ class TestTTSAsyncOffloading:
|
||||
):
|
||||
"""FINAL_ONLY streaming for async_chunk=False is scoped to qwen3_tts only."""
|
||||
voxtral_server.engine_client.model_config.async_chunk = False
|
||||
voxtral_server._validate_tts_request = mocker.MagicMock(return_value=None)
|
||||
mocker.patch.object(voxtral_server._get_tts_adapter(), "validate", return_value=None)
|
||||
voxtral_server._build_voxtral_prompt_async = mocker.AsyncMock(
|
||||
return_value={
|
||||
"prompt_token_ids": [1, 2, 3],
|
||||
|
||||
Reference in new issue
Block a user