Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.
TypeScript agentic-aiagentsaiai-agentsaiagentsdeveloper-toolsfunction-callinggpt-4javascriptjsllmllmopsmcppythonremote-mcp-serverssetypescript
fix(python): update test to expect coerced array for connected_accounts
Abir Taheera03b3759ec4e
diff --git a/python/tests/test_tool_router.py b/python/tests/test_tool_router.pyindex b64643f7a..05a4a953b 100644--- a/python/tests/test_tool_router.py+++ b/python/tests/test_tool_router.py@@ -509,7 +509,7 @@ class TestToolRouter:call_args = mock_client.tool_router.session.create.call_argskwargs = call_args.kwargs- assert kwargs["connected_accounts"] == {"github": "ca_xxx", "slack": "ca_yyy"}+ assert kwargs["connected_accounts"] == {"github": ["ca_xxx"], "slack": ["ca_yyy"]}def test_create_session_with_workbench_config(self, tool_router, mock_client):"""Test creating a session with workbench configuration."""