Your lightweight open-source personal agent.
Python agent-frameworkai-agentai-agentschatbotchatopsdiscord-botllm-agentsllmslocal-llmmcpmodel-context-protocolmulti-agentopenai-compatibleopenclawpersonal-ai-assistantpythonself-hostedtelegram-bot-ai-assistantwebuiworkflow-automation
test(websocket): isolate delivery checks from transcript writes
chengyongru499bf903022f
diff --git a/nanobot/channels/websocket/tests/test_websocket_outbound_delivery.py b/nanobot/channels/websocket/tests/test_websocket_outbound_delivery.pyindex 7442be16d..61d9de94d 100644--- a/nanobot/channels/websocket/tests/test_websocket_outbound_delivery.py+++ b/nanobot/channels/websocket/tests/test_websocket_outbound_delivery.py@@ -109,6 +109,8 @@ async def _wait_for_retire_tasks(channel: WebSocketChannel) -> None:@pytest.mark.asyncioasync def test_message_bus_delivers_to_ten_tuis_with_one_blocked_connection() -> None:channel = _channel()+ # Keep disk latency out of the connection delivery synchronization check.+ channel._persist_turn_transcript_event = MagicMock(return_value=True)bus = MessageBus()config = Config.model_validate({"channels": {"websocket": {"enabled": False}}})manager = ChannelManager(config, bus)