From cac73744a4ec6d08edc774d03dd265d112d70161 Mon Sep 17 00:00:00 2001 From: CI Bot Date: Sun, 20 Sep 2026 20:12:20 +0000 Subject: [PATCH] style: auto-format with black + isort + ruff + prettier [skip ci-format-check] --- tests/unit/test_ai_avatar_emotion_tts_lipsync.py | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) 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."