test: add unit tests for services-part-1 (#33050)

This commit is contained in:
Poojan
2026-03-22 21:32:41 +05:30
committed by GitHub
parent 31506b27ab
commit b53675a16c
13 changed files with 8360 additions and 95 deletions

View File

@@ -704,7 +704,7 @@ class MCPToolManageService:
raise ValueError(f"MCP tool {server_url} already exists")
if "unique_mcp_provider_server_identifier" in error_msg:
raise ValueError(f"MCP tool {server_identifier} already exists")
raise
raise error
def _is_valid_url(self, url: str) -> bool:
"""Validate URL format."""