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): align exec platform test doubles
Xubin Ren3e154bb5cf81
diff --git a/tests/tools/test_exec_platform.py b/tests/tools/test_exec_platform.pyindex 69a271ec1..ffb25f985 100644--- a/tests/tools/test_exec_platform.py+++ b/tests/tools/test_exec_platform.py@@ -162,7 +162,7 @@ class TestPathAppendPlatform:captured_cmd = Nonecaptured_env = {}- async def capture_spawn(cmd, cwd, env):+ async def capture_spawn(cmd, cwd, env, shell_program=None, login=True):nonlocal captured_cmdcaptured_cmd = cmdcaptured_env.update(env)@@ -190,7 +190,7 @@ class TestPathAppendPlatform:captured_env = {}- async def capture_spawn(cmd, cwd, env):+ async def capture_spawn(cmd, cwd, env, shell_program=None, login=True):captured_env.update(env)return mock_proc