Skip to content

JiuwenSwarm is an intelligent AI Agent built on openJiuwen. It extends the powerful capabilities of large language models directly to your fingertips through various communication apps you use daily.

Python

test(agentserver): stub personal-context best-effort hook in mtls handler test

程凯023f85ed0f62
diff --git a/tests/integration/test_link_mtls_http_sse_e2e.py b/tests/integration/test_link_mtls_http_sse_e2e.py
index 3426e43e7d..0a8285eb9c 100644
--- a/tests/integration/test_link_mtls_http_sse_e2e.py
+++ b/tests/integration/test_link_mtls_http_sse_e2e.py
@@ -853,6 +853,7 @@ async def test_agent_handler_initializes_without_plaintext_websocket(monkeypatch
_trigger_before_ws_server_start_hook=AsyncMock(),
_bootstrap_internal_jiuwenbox=AsyncMock(),
_start_loop_lag_monitor=AsyncMock(),
+ _start_personal_context_best_effort=AsyncMock(),
)
await module.AgentWebSocketServer.start(server, listen=False)
serve_spy.assert_not_awaited()