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
fix(tests): make settings workspace path portable
Xubin Ren1391aa3d577d
diff --git a/tests/channels/test_websocket_channel.py b/tests/channels/test_websocket_channel.pyindex d687cc9e2..8f3066f36 100644--- a/tests/channels/test_websocket_channel.py+++ b/tests/channels/test_websocket_channel.py@@ -1057,7 +1057,8 @@ async def test_settings_api_returns_safe_subset_and_updates_whitelist(assert image_providers["openrouter"]["configured"] is Falseassert image_providers["gemini"]["label"] == "Gemini"assert body["runtime"]["config_path"] == str(config_path)- assert body["runtime"]["workspace_path"].endswith(".nanobot/workspace")+ workspace_path = body["runtime"]["workspace_path"].replace("\\", "/")+ assert workspace_path.endswith("/.nanobot/workspace")assert body["runtime"]["gateway_port"] == 18790assert body["advanced"]["exec_enabled"] is Trueassert body["advanced"]["mcp_server_count"] == 0