-
Notifications
You must be signed in to change notification settings - Fork 28
MCP: Add unit tests for all tools and refactors #51
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
| @@ -0,0 +1,54 @@ | |||
| """Unit tests for ``polaris_mcp.tools.catalog_role``.""" | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing the license header here.
Do we have a Git issue for auto-checking the license?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I just created PR #71 to fix this.
| @@ -0,0 +1,57 @@ | |||
| """Unit tests for ``polaris_mcp.tools.catalog``.""" | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing header
| @@ -0,0 +1,40 @@ | |||
| """Unit tests for ``polaris_mcp.tools.policy``.""" | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing header
| @@ -0,0 +1,43 @@ | |||
| """Unit tests for ``polaris_mcp.tools.principal_role``.""" | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing header
| @@ -0,0 +1,45 @@ | |||
| """Unit tests for ``polaris_mcp.tools.principal``.""" | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing header
adam-christian-software
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall, I like the changes. I especially like that we are injecting in the RestTool rather than building that dependency.
Personally, I would add a Description to the PR since that helps keep our project clean.
|
Thanks all for the review! |
* Added support for configurable HTTP timeout * MCP: Add unit tests for all tools and refactors (#51) * Added support for configurable HTTP timeout * Fix lint --------- Co-authored-by: Yufei Gu <yufei@apache.org>
cc @adam-christian-software @HonahX