diff options
Diffstat (limited to 'app/tests/test_hub.py')
| -rw-r--r-- | app/tests/test_hub.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/app/tests/test_hub.py b/app/tests/test_hub.py index 61f0da1..a009e3c 100644 --- a/app/tests/test_hub.py +++ b/app/tests/test_hub.py @@ -646,8 +646,8 @@ class SettingsTests(unittest.TestCase): hub._settings_menu(None) self.assertEqual([f["key"] for f in captured["fields"]], ["audio_format", "audio_bitrate", "language", - "chunk_size", "qwen_custom_port", "qwen_clone_port", - "faster_port", "audiocpp_port"]) + "chunk_size", "audiocpp_port", "faster_port", + "qwen_custom_port", "qwen_clone_port"]) kinds = {f["key"]: f["kind"] for f in captured["fields"]} self.assertEqual(kinds["audio_format"], "choice") self.assertEqual(kinds["audio_bitrate"], "text") @@ -658,9 +658,9 @@ class SettingsTests(unittest.TestCase): # 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.assertTrue(notes["audiocpp_port"]) self.assertIsNone(notes["audio_format"]) - self.assertIsNone(notes["audiocpp_port"]) + self.assertIsNone(notes["qwen_custom_port"]) self.assertEqual(applied, [{"audio_format": "ogg", "audio_bitrate": "192k", "language": "English", |
