diff --git a/tests/unit/test_ai_avatar_emotion_tts_lipsync.py b/tests/unit/test_ai_avatar_emotion_tts_lipsync.py index ca0002f18..c7c658e70 100644 --- a/tests/unit/test_ai_avatar_emotion_tts_lipsync.py +++ b/tests/unit/test_ai_avatar_emotion_tts_lipsync.py @@ -227,9 +227,7 @@ def test_style_takes_priority_over_emotion(): captured: dict = {} svc = _make_service_with_captured_client(captured) - svc.submit_synthesize_task( - text="你好", voice_id="myclone_voice", style="excited", emotion="sad" - ) + svc.submit_synthesize_task(text="你好", voice_id="myclone_voice", style="excited", emotion="sad") inp = captured["json"]["input"] assert "兴奋" in inp["instruction"] @@ -240,9 +238,7 @@ def test_unknown_style_ignored_falls_back_to_emotion(): captured: dict = {} svc = _make_service_with_captured_client(captured) - svc.submit_synthesize_task( - text="hi", voice_id="myclone_voice", style="nonexistent", emotion="sad" - ) + svc.submit_synthesize_task(text="hi", voice_id="myclone_voice", style="nonexistent", emotion="sad") inp = captured["json"]["input"] assert inp["instruction"] == "Speak in a sad tone."