diff options
| author | historia <historiavg@proton.me> | 2026-09-02 01:26:09 -0400 |
|---|---|---|
| committer | historia <historiavg@proton.me> | 2026-09-02 01:26:09 -0400 |
| commit | 8579517a35ef1865fc9b428899d73d52dcb27a14 (patch) | |
| tree | dba52f8d99cfe4014e0b787367de99f238e5a0db /app/tests/test_backends.py | |
| parent | 391f50da7a085bec75155c0eb9b47910266058cc (diff) | |
| download | tts-audiobook-generator-8579517a35ef1865fc9b428899d73d52dcb27a14.tar.gz | |
feat: sglang backend support
Diffstat (limited to 'app/tests/test_backends.py')
| -rw-r--r-- | app/tests/test_backends.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/app/tests/test_backends.py b/app/tests/test_backends.py index 7a39880..e8ad1eb 100644 --- a/app/tests/test_backends.py +++ b/app/tests/test_backends.py @@ -37,9 +37,9 @@ class RegistryTests(unittest.TestCase): # another test class having called detect_all() first. get("audiocpp") - def test_registry_has_the_three_backends(self): + def test_registry_has_every_backend(self): keys = [info.key for info in REGISTRY] - self.assertEqual(keys, ["audiocpp", "qwen", "faster"]) + self.assertEqual(keys, ["audiocpp", "qwen", "faster", "sglomni"]) def test_every_entry_has_detect_setup_and_uninstall(self): for info in REGISTRY: @@ -65,9 +65,9 @@ class DetectAllTests(unittest.TestCase): with patch("backends.common.server_running", return_value=False): statuses = detect_all() self.assertEqual([s.key for s in statuses], - ["audiocpp", "qwen", "faster"]) + ["audiocpp", "qwen", "faster", "sglomni"]) for s in statuses: - self.assertIn(s.key, ("audiocpp", "qwen", "faster")) + self.assertIn(s.key, ("audiocpp", "qwen", "faster", "sglomni")) # ready requires both installed and configured; on a clean # machine none are ready. if s.ready: |
