From a7c653313d2bb1e185cfbc3f0f52c2fe33218600 Mon Sep 17 00:00:00 2001 From: historia Date: Fri, 28 Aug 2026 02:27:10 -0400 Subject: feat: qwen-tts backend widgets updated to same style as audio.cpp --- app/tests/test_backends.py | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'app/tests/test_backends.py') diff --git a/app/tests/test_backends.py b/app/tests/test_backends.py index a49a2f2..09ad3cc 100644 --- a/app/tests/test_backends.py +++ b/app/tests/test_backends.py @@ -651,8 +651,14 @@ class QwenModelsScreenTests(unittest.TestCase): ("Install VoiceDesign", ("install", "VoiceDesign")), ]) self.assertEqual(kwargs["table_title"], "Model State") - self.assertEqual(kwargs["table_rows"][0], - ("CustomVoice", "installed", "ok")) + # Every row is a (name, status, kind) triple: tui.menu reads + # row[2] for the status color, so a short row crashes the menu + # with "tuple index out of range". + self.assertEqual(kwargs["table_rows"], [ + ("CustomVoice", "installed", "ok"), + ("Base", "not installed", "warn"), + ("VoiceDesign", "not installed", "warn"), + ]) def test_install_action_runs_a_download_step_in_the_task_view(self): from backends import qwen -- cgit v1.2.3