From f976a0c2be786255fc7e1d63f5b7087e7e0c7295 Mon Sep 17 00:00:00 2001 From: Yera All Date: Tue, 7 Apr 2026 00:48:52 +0500 Subject: [PATCH] test(ai): update Yandex TTS speed assertion to 1.1x default --- tests/test_ai_voice_tts_provider.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_ai_voice_tts_provider.py b/tests/test_ai_voice_tts_provider.py index 5d3da86..7b02cd4 100644 --- a/tests/test_ai_voice_tts_provider.py +++ b/tests/test_ai_voice_tts_provider.py @@ -131,7 +131,7 @@ def test_yandex_tts_provider_posts_lpcm_with_api_key(tmp_path, monkeypatch): assert calls[0]["headers"]["Authorization"] == "Api-Key yandex-test-key" assert calls[0]["headers"]["Accept"] == "application/json" assert calls[0]["json"]["hints"][0]["voice"] == "jane" - assert calls[0]["json"]["hints"][1]["speed"] == 1.0 + assert calls[0]["json"]["hints"][1]["speed"] == 1.1 assert calls[0]["json"]["outputAudioSpec"]["rawAudio"]["audioEncoding"] == "LINEAR16_PCM" assert calls[0]["json"]["outputAudioSpec"]["rawAudio"]["sampleRateHertz"] == 8000 assert list(Path(tmp_path).rglob("*.pcm"))