From 6c5dfd0bbc821f93f084c14e304da77768a17620 Mon Sep 17 00:00:00 2001 From: Jan-Philipp Benecke Date: Tue, 10 Sep 2024 22:35:24 +0200 Subject: [PATCH] Fix failing elevenlabs tts test (#125698) --- tests/components/elevenlabs/test_tts.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/tests/components/elevenlabs/test_tts.py b/tests/components/elevenlabs/test_tts.py index f79244e3c1c..37866a53c5b 100644 --- a/tests/components/elevenlabs/test_tts.py +++ b/tests/components/elevenlabs/test_tts.py @@ -440,5 +440,11 @@ async def test_tts_service_speak_without_options( ) tts_entity._client.generate.assert_called_once_with( - text="There is a person at the front door.", voice="voice1", model="model1" + text="There is a person at the front door.", + voice="voice1", + optimize_streaming_latency=0, + voice_settings=VoiceSettings( + stability=0.5, similarity_boost=0.75, style=0.0, use_speaker_boost=True + ), + model="model1", )