test: improve deterministic unit test coverage

This commit is contained in:
chengyongru
2026-06-04 19:41:32 +08:00
committed by Xubin Ren
parent 87bd56468c
commit 24e56fcf07
27 changed files with 279 additions and 213 deletions
+1 -1
View File
@@ -420,7 +420,7 @@ async def test_send_exception_caught_not_raised() -> None:
await channel.send(
OutboundMessage(channel="wecom", chat_id="chat1", content="fail test")
)
# No exception — test passes if we reach here.
client.reply_stream.assert_called_once()
# ── _process_message() ──────────────────────────────────────────────