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(cli): tolerate wrapped launcher output
Xubin Ren55f04233365a
diff --git a/tests/cli/test_commands.py b/tests/cli/test_commands.pyindex b638b2440..aaf1f4d5e 100644--- a/tests/cli/test_commands.py+++ b/tests/cli/test_commands.py@@ -2584,9 +2584,10 @@ def test_attach_to_background_gateway_detaches_on_ctrl_c(capsys) -> None:assert stopped is Falseoutput = capsys.readouterr().out- assert "Closing the browser does not stop channels or automations" in output- assert "gateway stops only when the last local client exits" in output- assert "WebUI launcher detached" in output+ rendered = " ".join(output.split())+ assert "Closing the browser does not stop channels or automations" in rendered+ assert "gateway stops only when the last local client exits" in rendered+ assert "WebUI launcher detached" in rendereddef test_attach_to_background_gateway_checks_owned_sidecar() -> None: