diff options
Diffstat (limited to 'app/tests/test_hub.py')
| -rw-r--r-- | app/tests/test_hub.py | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/app/tests/test_hub.py b/app/tests/test_hub.py index 80a97d0..ddd6ec0 100644 --- a/app/tests/test_hub.py +++ b/app/tests/test_hub.py @@ -1238,7 +1238,9 @@ class ConvertFlowTests(unittest.TestCase): self.assertEqual(kwargs["model_ids"], ["alpha"]) self.assertEqual(kwargs["model_voices"], {"alpha": "narrator"}) self.assertEqual(kwargs["run_notice"], - "skipped non-TTS model(s): plex") + "skipped plex — speech-to-speech, not TTS: it " + "cannot turn text into audio. Consider deleting " + "the model") def test_all_pick_refuses_when_every_model_is_non_narrating(self): # With nothing left to generate with after the skip, the All pick @@ -1260,9 +1262,11 @@ class ConvertFlowTests(unittest.TestCase): self._field("model_id")["value"] = hub.AUDIOCPP_MODEL_ALL error = voice_field["validate"]("narrator") self.assertIsNotNone(error) - self.assertIn("plex-1", error) - self.assertIn("plex-2", error) - self.assertIn("synthesize text", error) + self.assertIn("plex-1, plex-2", error) + self.assertIn("speech-to-speech, not TTS", error) + self.assertIn("cannot turn text into audio", error) + self.assertIn("Consider deleting the models", error) + self.assertIn("nothing for an 'All' run", error) def test_all_voice_falls_back_per_capability(self): # A CustomVoice entry cannot clone: it synthesizes with a built-in |
