test: unit test cases for controllers.files, controllers.mcp and controllers.trigger module (#32057)

This commit is contained in:
rajatagarwal-oss
2026-02-25 12:11:42 +05:30
committed by GitHub
parent 6ff420cd03
commit 212756c315
7 changed files with 1310 additions and 0 deletions

View File

@@ -64,6 +64,10 @@ class ToolFileApi(Resource):
if not stream or not tool_file:
raise NotFound("file is not found")
except NotFound:
raise
except Exception:
raise UnsupportedFileTypeError()