feat: Implement voice fallback logic and enhance voice resolution tests for custom mixes

This commit is contained in:
JB
2025-10-09 13:58:21 -07:00
parent f0b6976d12
commit 01a6267c7a
3 changed files with 96 additions and 5 deletions
+1 -1
View File
@@ -29,7 +29,7 @@ def test_ensure_voice_assets_downloads_missing(monkeypatch):
assert downloaded == {"af_nova", "am_liam"}
assert errors == {}
assert recorded == ["voices/af_nova.pt", "voices/am_liam.pt"]
assert set(recorded) == {"voices/af_nova.pt", "voices/am_liam.pt"}
recorded.clear()
downloaded_again, errors_again = ensure_voice_assets(["af_nova"])