Skip to content

Make two upload tests URL-independent #3183

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

Merged
merged 2 commits into from
Mar 8, 2018
Merged

Conversation

brainwane
Copy link
Contributor

Followup to #3175. Change the upload permissions check and project name/Python standard library collision check error messages refer to the URL of the PyPI in question, thus ensuring that we send error messages that, as appropriate, refer to pypi.org, test.pypi.org, or any other future PyPI.

@brainwane
Copy link
Contributor Author

It was reasonably mechanical to make these changes, so if we approve this, I'll set up new Good First Issue bug reports to fix test_fails_with_admin_flag_set, test_upload_requires_verified_email, and test_fails_with_invalid_names, and point to this PR for guidance on how to do so.

@brainwane brainwane force-pushed the api-errors-route-url branch from 4bf631d to 66ead2d Compare March 8, 2018 21:48
@di di merged commit 1ce7b63 into pypi:master Mar 8, 2018
@di
Copy link
Member

di commented Mar 8, 2018

👍 to the good first issues.

@brainwane brainwane deleted the api-errors-route-url branch March 8, 2018 22:14
Mariatta pushed a commit to Mariatta/warehouse that referenced this pull request Mar 9, 2018
* Make permissions check upload test URL-independent

* Make standard library collision name check URL-independent
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants