aboutsummaryrefslogtreecommitdiff
path: root/app/tests/test_tts.py
diff options
context:
space:
mode:
Diffstat (limited to 'app/tests/test_tts.py')
-rw-r--r--app/tests/test_tts.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/app/tests/test_tts.py b/app/tests/test_tts.py
index 9067443..67c81f8 100644
--- a/app/tests/test_tts.py
+++ b/app/tests/test_tts.py
@@ -1135,12 +1135,12 @@ class AudioCppFamilyVoicePolicyTests(unittest.TestCase):
def setUp(self):
# Seed the spec cache instead of reading the (gitignored, setup-
# downloaded) checkout's model_specs, so the tests are hermetic.
- cache = audiocpp_client._FAMILY_SPEC_TASKS
+ cache = audiocpp_client._FAMILY_SPECS
cache.clear()
cache.update({
- "higgs_audio_tts": {"tts", "clone"},
- "supertonic": {"tts"},
- "confucius4_tts": {"clone"},
+ "higgs_audio_tts": {"tasks": ["tts", "clone"]},
+ "supertonic": {"tasks": ["tts"]},
+ "confucius4_tts": {"tasks": ["clone"]},
})
self.addCleanup(cache.clear)