From b5cbc3b48295da187f8a676299aa6ebc20172528 Mon Sep 17 00:00:00 2001 From: CI Bot Date: Sun, 4 Oct 2026 01:55:39 +0000 Subject: [PATCH] style: auto-format with black + isort + ruff + prettier [skip ci-format-check] --- tests/unit/test_ai_client_image.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tests/unit/test_ai_client_image.py b/tests/unit/test_ai_client_image.py index 6dd486f65..5c297d1b2 100644 --- a/tests/unit/test_ai_client_image.py +++ b/tests/unit/test_ai_client_image.py @@ -439,9 +439,7 @@ class TestTrustChainBranches: 这里测 doubao 分支:信任链默认触发,验证 DashScope 分发路径不受影响。""" # 该测试实际覆盖 video_generation 入口的 dashscope 分发:缺 DASHSCOPE_API_KEY 时返回 auth_error client = _make_client() - with ( - patch("packages.shared.ai_client.get_shared_settings") as ms, - ): + with (patch("packages.shared.ai_client.get_shared_settings") as ms,): ms.return_value = MagicMock( doubao_video_poll_interval=0, doubao_video_timeout=1,