**test(git-ops): add comprehensive tests for server and API tools**
- Introduced extensive test coverage for FastAPI endpoints, including health check, MCP tools, and JSON-RPC operations. - Added tests for Git operations MCP tools, including cloning, status, branching, committing, and provider detection. - Mocked dependencies and ensured reliable test isolation with unittest.mock and pytest fixtures. - Validated error handling, workspace management, tool execution, and type conversion functions.
This commit is contained in:
1170
mcp-servers/git-ops/tests/test_server_tools.py
Normal file
1170
mcp-servers/git-ops/tests/test_server_tools.py
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user