test: improve deterministic unit test coverage

This commit is contained in:
chengyongru authored and Xubin Ren committed 2026-06-04 19:41:32 +08:00
1 parent 87bd56468c
commit 24e56fcf07
27 files changed
+279 -213

No files matched your search

+2 -1
View File
@@ -21,7 +21,8 @@ def _ctx() -> AgentHookContext:
@pytest.mark.asyncio
async def test_base_hook_emit_reasoning_is_noop():
hook = AgentHook()
await hook.emit_reasoning("should not raise")
result = await hook.emit_reasoning("should not raise")
assert result is None
# ---------------------------------------------------------------------------