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(tools): stabilize session output test
Xubin Ren8141df0d3f93
diff --git a/tests/tools/test_exec_session_tools.py b/tests/tools/test_exec_session_tools.pyindex ad2506739..76b3c9781 100644--- a/tests/tools/test_exec_session_tools.py+++ b/tests/tools/test_exec_session_tools.py@@ -269,7 +269,7 @@ def test_write_stdin_can_wait_for_expected_output(tmp_path):initial, waited, cleanup = asyncio.run(run())assert "Process running" in initial- assert "booting" in waited+ assert "booting" in initial + waitedassert "ready" in waitedassert "Wait target not observed" not in waitedassert "Session terminated." in cleanup@@ -298,7 +298,7 @@ def test_write_stdin_wait_for_reports_timeout_without_killing_session(tmp_path):initial, waited, cleanup = asyncio.run(run())assert "Process running" in initial- assert "booting" in waited+ assert "booting" in initial + waitedassert "Process running" in waitedassert "Wait target not observed: 'never-ready'" in waitedassert "Session terminated." in cleanup