mirror of
https://github.com/langgenius/dify.git
synced 2026-04-05 09:49:25 +08:00
test: add unit tests for services-part-1 (#33050)
This commit is contained in:
@@ -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."""
|
||||
|
||||
Reference in New Issue
Block a user