From 6829b8b475540814eebcb50c5ac1e8d6b1264a91 Mon Sep 17 00:00:00 2001 From: dongzeyu001 Date: Wed, 15 Apr 2026 16:36:04 +0800 Subject: [PATCH] unit test fix --- tests/channels/test_wecom_channel.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/channels/test_wecom_channel.py b/tests/channels/test_wecom_channel.py index f2367219..a8ed3c0e 100644 --- a/tests/channels/test_wecom_channel.py +++ b/tests/channels/test_wecom_channel.py @@ -574,7 +574,7 @@ async def test_process_mixed_message() -> None: assert msg.sender_id == "user1" assert msg.chat_id == "chat1" assert msg.content.startswith("hello wecom") - assert msg.metadata["msg_type"] == "text" + assert msg.metadata["msg_type"] == "mixed" assert len(msg.media) == 1 assert msg.media[0].endswith("photo.png") assert "[image:" in msg.content