-
Notifications
You must be signed in to change notification settings - Fork 3k
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
REST API tests: project accessibility #4496
Conversation
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.
Use the pull requests template for future requests.
If you are currently continue working on pull request, then for reviewers convenience and for reducing the number of workflows in GitHub Actions. you can add [WIP]
in the title of pull requests.
Co-authored-by: Kirill Sizov <kirill.sizov@intel.com>
Co-authored-by: Kirill Sizov <kirill.sizov@intel.com>
…tProject minor issues
tests/rest_api/test_projects.py
Outdated
# [organization] Member of organization that has role supervisor, maintainer or owner can create a project | ||
# (POST /projects/) |
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.
Please, leave a comment for tests in case when it's really necessary. For example, in this case I think we don't need to mention (POST /projects)
because this TestPostProject
test class. And developers can easy understand what this test really do from the name of test function.
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.
Looks good to me
REST API, check if admin can see any project even he has no ownerships for this project