Files
kubeshark/cmd
Alon Girmonsky 4c23290c29 Fix MCP unit tests to use correct /tools/call endpoint
- Update all Hub tool tests to use POST /tools/call endpoint instead
  of individual paths like /workloads, /calls, /stats
- Verify arguments in POST body instead of URL query parameters
- Add newMockHubHandler helper for proper Hub endpoint mocking
- Split TestMCP_ToolsList into three tests:
  - TestMCP_ToolsList_CLIOnly: Tests without Hub backend
  - TestMCP_ToolsList_WithDestructive: Tests with destructive flag
  - TestMCP_ToolsList_WithHubBackend: Tests with mock Hub providing tools
- Fix TestMCP_FullConversation to mock Hub MCP endpoint correctly
- Rename URL encoding tests for clarity
- All tests now correctly reflect the implementation

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-05 21:08:39 -08:00
..
2024-05-23 01:20:55 +03:00
2024-10-14 14:00:34 -07:00
2023-07-06 21:57:21 +03:00
2024-05-23 01:20:55 +03:00
2026-02-05 21:04:32 -08:00
2025-03-24 11:02:57 -07:00
2022-12-29 03:45:24 +03:00