From 89da9b70db6da1f467191a9f2cf0ab7bac6288ea Mon Sep 17 00:00:00 2001 From: taohe Date: Thu, 11 Jun 2026 11:20:39 +0800 Subject: [PATCH] Format additional channel connection tests --- .../tests/test_additional_channel_connections.py | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/backend/tests/test_additional_channel_connections.py b/backend/tests/test_additional_channel_connections.py index c4b4fdb0f..d6134a355 100644 --- a/backend/tests/test_additional_channel_connections.py +++ b/backend/tests/test_additional_channel_connections.py @@ -236,12 +236,15 @@ def test_additional_channels_attach_owner_identity(tmp_path): attached = await channel._attach_connection_identity(inbound) assert attached.owner_user_id == "deerflow-user-1" assert attached.connection_id - assert attached.workspace_id == { - "feishu": "oc-chat-1", - "dingtalk": "cid-group-1", - "wechat": "wx-user-1", - "wecom": "bot-1", - }[channel.name] + assert ( + attached.workspace_id + == { + "feishu": "oc-chat-1", + "dingtalk": "cid-group-1", + "wechat": "wx-user-1", + "wecom": "bot-1", + }[channel.name] + ) await repo.close()