fix: close #13 - pin deterministic voice in test_integration.py instead of random.choice

This commit is contained in:
Jarian 2026-07-05 12:48:11 +00:00
parent 564c68e002
commit 890408fc98

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_title = "test_output"
# Pick a voice
import random
voice = random.choice(VOICES)
# Pin a deterministic voice for reproducible testing
voice = VOICES[0]
print(f"Using voice: {voice}")