Merge pull request 'fix: close #13 - pin deterministic voice in test_integration.py' (#32) from fix/issue-test-determinism into main

Reviewed-on: https://git.home.ms/jarianc/kokorotts-server/pulls/32
This commit is contained in:
jarianc 2026-07-05 07:57:38 -05:00
commit d11c2dd07c

View File

@ -51,10 +51,8 @@ def test_kokoro_tts_integration():
test_text = "This is a test of the kokoro text-to-speech system." test_text = "This is a test of the kokoro text-to-speech system."
test_title = "test_output" test_title = "test_output"
# Pick a voice # Pin a deterministic voice for reproducible testing
import random voice = VOICES[0]
voice = random.choice(VOICES)
print(f"Using voice: {voice}") print(f"Using voice: {voice}")