test(ai): update Yandex TTS speed assertion to 1.1x default
This commit is contained in:
@@ -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"))
|
||||
|
||||
Reference in New Issue
Block a user