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
feat(py): fix tests
jkomynocd4539e5df91
diff --git a/python/tests/test_files.py b/python/tests/test_files.pyindex a9985ae06..f8d91f2cb 100644--- a/python/tests/test_files.py+++ b/python/tests/test_files.py@@ -1647,8 +1647,10 @@ class TestFetchFileFromUrlWithTruncation:"""Long real-world URLs should be handled correctly."""mock_response = MagicMock()mock_response.ok = True- mock_response.content = b"test content"+ mock_response.status_code = 200mock_response.headers = {"content-type": "application/pdf"}+ mock_response.iter_content.return_value = [b"test content"]+ mock_response.close = MagicMock()mock_get.return_value = mock_response# Real-world long URL example (no extension, relies on mimetype)