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(webui): tolerate wrapped bootstrap CLI output
Xubin Ren3ab09075c537
diff --git a/tests/cli/test_commands.py b/tests/cli/test_commands.pyindex feeab51a8..7d6232ef4 100644--- a/tests/cli/test_commands.py+++ b/tests/cli/test_commands.py@@ -1672,7 +1672,7 @@ def test_webui_yes_creates_config_and_enables_local_websocket(assert data["agents"]["defaults"]["workspace"] == str(workspace)assert seen["templates"] == workspaceassert seen["gateway_kwargs"] == {"port": 18888, "open_browser_url": None}- compact_output = _strip_ansi(result.stdout).replace("\n", " ")+ compact_output = re.sub(r"\s+", " ", _strip_ansi(result.stdout))assert "bootstrap secret was generated" in compact_outputassert "channels.websocket.tokenIssueSecret" in compact_outputassert "rerun without --no-open" in compact_output