diff --git a/tests/channels/test_wecom_channel.py b/tests/channels/test_wecom_channel.py index ecaa1c56b..f23672195 100644 --- a/tests/channels/test_wecom_channel.py +++ b/tests/channels/test_wecom_channel.py @@ -573,7 +573,7 @@ async def test_process_mixed_message() -> None: msg = await channel.bus.consume_inbound() assert msg.sender_id == "user1" assert msg.chat_id == "chat1" - assert msg.content == "hello wecom" + assert msg.content.startswith("hello wecom") assert msg.metadata["msg_type"] == "text" assert len(msg.media) == 1 assert msg.media[0].endswith("photo.png")