diff options
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", |
