unit test fix

This commit is contained in:
dongzeyu001 2026-04-15 16:32:51 +08:00 committed by Xubin Ren
parent cf47fa7d23
commit cbd2315d76

View File

@ -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")