diff options
| author | historia <historiavg@proton.me> | 2026-08-24 04:07:06 -0400 |
|---|---|---|
| committer | historia <historiavg@proton.me> | 2026-08-24 04:07:06 -0400 |
| commit | 9fb2434dcc8a1ed7bd085b453859d473de64448a (patch) | |
| tree | 8a5ebe4db5defe6c42a7e8adf84f9b7f6ce26db5 /app/tests/test_hub.py | |
| parent | 73b466fbc054e80b50e318b49643aee8a03c784b (diff) | |
| download | tts-audiobook-generator-9fb2434dcc8a1ed7bd085b453859d473de64448a.tar.gz | |
fix: menu tui up/down, port explanation in menu
Diffstat (limited to 'app/tests/test_hub.py')
| -rw-r--r-- | app/tests/test_hub.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/app/tests/test_hub.py b/app/tests/test_hub.py index 4b394e8..0e7c2bd 100644 --- a/app/tests/test_hub.py +++ b/app/tests/test_hub.py @@ -492,6 +492,12 @@ class SettingsTests(unittest.TestCase): self.assertEqual(kinds["audio_format"], "choice") self.assertEqual(kinds["audio_bitrate"], "text") self.assertEqual(kinds["audiocpp_port"], "text") + # The ports section note hangs off the first port field so it + # renders between the output settings and the ports. + notes = {f["key"]: f.get("note") for f in captured["fields"]} + self.assertTrue(notes["qwen_custom_port"]) + self.assertIsNone(notes["audio_format"]) + self.assertIsNone(notes["audiocpp_port"]) self.assertEqual(applied, [{"audio_format": "ogg", "audio_bitrate": "192k", "language": "English", |
