venkateshwaracholan opened a new pull request, #4391: URL: https://github.com/apache/polaris/pull/4391
#4169 refactored CLI unit tests and covered some of the missing cases reported in #4017. This PR adds the remaining missing test coverage identified by auditing all subcommands against `polaris --help` output. Added tests: - `test_policy_create`, `test_policy_delete`, `test_policy_get` in `test_policies_command.py` - `test_profile_delete`, `test_profile_update` in `test_profiles_command.py` - `test_privilege_catalog_grant`, `test_privilege_namespace_revoke`, `test_privilege_view_revoke` in `test_privileges_command.py` Checklist - [x] ๐ก๏ธ Don't disclose security issues! (contact [email protected]) - [x] ๐ Clearly explained why the changes are needed, or linked related issues: Closes #4017 - [x] ๐งช Added/updated tests with good coverage, or manually tested (and explained how) - [x] ๐ก Added comments for complex logic - [ ] ๐งพ Updated CHANGELOG.md (if needed) - [ ] ๐ Updated documentation in `site/content/in-dev/unreleased` (if needed) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
