Skip to content
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

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

tipabu
Copy link
Contributor

@tipabu tipabu commented Mar 19, 2019

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 and others added 2 commits March 18, 2019 16:21
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.
@temoto
Copy link
Member

temoto commented Oct 21, 2020

@tipabu it doesn't pass len(catched)==1 check. I've merged master, but it also didn't pass before that.

Copy link
Member

@temoto temoto left a 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

@itamarst itamarst added the tests label Dec 19, 2023
Copy link

codecov bot commented Dec 19, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (72a29b6) 53% compared to head (edf52c7) 53%.

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           
Flag Coverage Δ
ipv6 22% <ø> (ø)
py310epolls 52% <ø> (+<1%) ⬆️
py310poll 52% <ø> (+<1%) ⬆️
py310selects 52% <ø> (ø)
py311epolls 52% <ø> (ø)
py312epolls 50% <ø> (-1%) ⬇️
py37epolls 50% <ø> (+<1%) ⬆️
py38epolls 52% <ø> (+<1%) ⬆️
py38openssl 51% <ø> (+<1%) ⬆️
py38poll 52% <ø> (+<1%) ⬆️
py38selects 52% <ø> (-1%) ⬇️
py39dnspython1 50% <ø> (+<1%) ⬆️
py39epolls 52% <ø> (+<1%) ⬆️
py39poll 52% <ø> (ø)
py39selects 52% <ø> (-1%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants