Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.

next
md 38 lines 873 Bytes
Rendered Raw
1 # Integration Tests
2
3 Integration tests for Composio SDK functionality.
4
5 ## Setup
6
7 ```bash
8 export COMPOSIO_API_KEY="your_api_key_here"
9 ```
10
11 ## Running Tests
12
13 ```bash
14 # From project root
15 cd /path/to/composio
16 python -m pytest python/composio/integration_test/ -v
17
18 # From python directory
19 cd /path/to/composio/python
20 pytest composio/integration_test/ -v
21
22 # Using uv
23 cd /path/to/composio/python
24 uv run pytest composio/integration_test/ -v
25 ```
26
27 ## Test Files
28
29 - **`test_mcp.py`** - MCP (Model Context Protocol) functionality tests
30 - **`test_tool_router.py`** - ToolRouter experimental feature tests
31 - **`test_tool_router_session_update.py`** - `session.update()` with default options against the live API
32 - **`test_tool_router_session_proxy_execute.py`** - the `proxy_execute` session option against the live API
33
34 ## Requirements
35
36 - Python 3.12+
37 - pytest
38 - Valid Composio API key