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
Clean up some warnings in wsgi_test #558
base: master
Are you sure you want to change the base?
Conversation
Previously, running tests with pytest would catch DeprecationWarning: cgi.parse_qs is deprecated, use urllib.parse.parse_qs instead and DeprecationWarning: capitalize_response_headers is disabled... The latter one was actually part of what was being tested, so make assertions about the warning being properly raised.
@tipabu it doesn't pass |
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.
LGTM but tests need to be fixed
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #558 +/- ##
=====================================
Coverage 53% 53%
=====================================
Files 88 88
Lines 9881 9881
Branches 1852 1852
=====================================
Hits 5335 5335
Misses 4156 4156
Partials 390 390
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Previously, running tests with pytest would catch
and
The latter one was actually part of what was being tested, so make assertions about the warning being properly raised.