aboutsummaryrefslogtreecommitdiff
path: root/app/tests
diff options
context:
space:
mode:
authorhistoria <historiavg@proton.me>2026-08-29 03:10:58 -0400
committerhistoria <historiavg@proton.me>2026-08-29 03:10:58 -0400
commit8a128b3859b8f398e162d3168ff328ab3199d307 (patch)
tree56b36def6f022cc7299acdfd91613a5141b49419 /app/tests
parent83d0b7a5b2f669a1d3a9a0bea9c74b00e0b4c07b (diff)
downloadtts-audiobook-generator-8a128b3859b8f398e162d3168ff328ab3199d307.tar.gz
remove: pointless success flashes in tui for downloads
Diffstat (limited to 'app/tests')
-rw-r--r--app/tests/test_hub.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/app/tests/test_hub.py b/app/tests/test_hub.py
index 86dd9e3..39b8c5a 100644
--- a/app/tests/test_hub.py
+++ b/app/tests/test_hub.py
@@ -2978,8 +2978,7 @@ class ConfigureBackendsDispatchTests(unittest.TestCase):
steps[0].work(emit, None)
mk_install.assert_called_once_with(
checkout, guidance, emit=emit, cancel=None)
- self.assertEqual(len(flashes), 1)
- self.assertEqual(flashes[0][1], "ok")
+ self.assertEqual(flashes, [])
def test_download_models_action_flashes_error_when_no_checkout(self):
patch_flash, flashes = self._capture_flashes()
@@ -3034,7 +3033,7 @@ class ConfigureBackendsDispatchTests(unittest.TestCase):
pass
steps[1].work(emit, "CANCEL")
self.assertEqual(calls, [("qwen", emit, "CANCEL")])
- self.assertEqual(flashes[-1][1], "ok")
+ self.assertEqual(flashes, [])
def test_update_backends_action_flashes_error_when_something_failed(self):
infos = [BackendInfo("qwen", "qwen-tts", lambda: None, lambda: 0,