test(ai): update Yandex TTS speed assertion to 1.1x default

This commit is contained in:
Yera All
2026-04-07 00:48:52 +05:00
parent 5c1f720b46
commit f976a0c2be
+1 -1
View File
@@ -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"))