-
Notifications
You must be signed in to change notification settings - Fork 536
fix: Fix the broken test_valid_requirements
test
#3673
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
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.
The multiple result issue is going to need some additional fixes, probably using PURL since for common words like 'requests' the results may just be plain wrong. But I think you've got the right approach for dealing with this right now. Thank you!
I'm going to commit a suggestion for a slightly clearer error message and I may cause a merge conflict because of the test disabling PR that just got merged, so expect a bit of churn in this PR while I get that sorted.
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.
Need to fix some linter stuff. I noted the easy one but I think black wants to fix the other file too.
Updating the branch to see where we're at. Sorry this fell off my radar! |
I'm trying to update the branch to see what's going on with this again, but it looks like it's pulling in a bunch of changes I don't want so it may need bigger fixes that I can do through the web interface. |
Okay, this is not working (as in, the test is still failing) and it looks like a couple of the generated fuzz files somehow are stuck in this pull request. I'm going to go ahead and close this, but feel free to make a fresh branch with only your test_valid_requirements changes and open it up again if you can get the test to actually work. |
fixes #3644 .
The test "test_valid_requirements" in test/test_package_list_parser.py is broken. This PR attempts to fix it.
For more context on why this test is failing and why I have taken this approach to fix this, please refer to my post here on gitter.