diff options
Diffstat (limited to 'app/tests/test_backends.py')
| -rw-r--r-- | app/tests/test_backends.py | 10 |
1 files changed, 8 insertions, 2 deletions
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 |
