Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.
Mirrored from https://github.com/Camo67/composio.git
Synced Nov 21, 22:15 UTC
fix(python): update test to expect coerced array for connected_accounts
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Abir Taheer committed
May 6, 2026 at 23:33 UTC
a03b3759ec4e2f89f5320c959dd17345879e067c
1 file changed
+1
-1
python/tests/test_tool_router.py
+1
-1
@@ -509,7 +509,7 @@ class TestToolRouter:
509
510
call_args = mock_client.tool_router.session.create.call_args
511
kwargs = call_args.kwargs
512
- assert kwargs["connected_accounts"] == {"github": "ca_xxx", "slack": "ca_yyy"}
512
+ assert kwargs["connected_accounts"] == {"github": ["ca_xxx"], "slack": ["ca_yyy"]}
513
514
def test_create_session_with_workbench_config(self, tool_router, mock_client):
515
"""Test creating a session with workbench configuration."""