Skip to content

Commit

Permalink
CR amends
Browse files Browse the repository at this point in the history
  • Loading branch information
thelgason committed Mar 12, 2024
1 parent f8706a6 commit 0974c83
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tests/test_tts.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
)

0 comments on commit 0974c83

Please sign in to comment.