From 0974c83d9079d7e6f502f76f635f8d2d74cd4730 Mon Sep 17 00:00:00 2001 From: Thorvaldur Helgason Date: Tue, 12 Mar 2024 08:49:50 +0000 Subject: [PATCH] CR amends --- tests/test_tts.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/test_tts.py b/tests/test_tts.py index 2db7931..83286bd 100644 --- a/tests/test_tts.py +++ b/tests/test_tts.py @@ -151,14 +151,15 @@ def test_keys_override_in_tts_to_file(): region_name="test", ) ) + opts = TTSOptions(text_format=TextFormats.TEXT, audio_format="mp3", voice="Dora") tts_to_file( _TEXT, - TTSOptions(text_format=TextFormats.TEXT, audio_format="mp3", voice="Dora"), + opts, transcribe=False, keys_override=keys_override, ) SERVICES["mock_service"].text_to_speech.assert_called_once_with( _TEXT, - TTSOptions(text_format=TextFormats.TEXT, audio_format="mp3", voice="Dora"), + opts, keys_override, )