From 890408fc98c3b5066d86310d57d5326dbefff994 Mon Sep 17 00:00:00 2001 From: Jarian Date: Sun, 5 Jul 2026 12:48:11 +0000 Subject: [PATCH] fix: close #13 - pin deterministic voice in test_integration.py instead of random.choice --- test_integration.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/test_integration.py b/test_integration.py index 6fd7b5e..14843b7 100644 --- a/test_integration.py +++ b/test_integration.py @@ -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}")