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

HTTPServerBase: change Request to be more verbose respond_nohandler #276

Merged
merged 1 commit into from
Feb 16, 2024

Conversation

dublet
Copy link

@dublet dublet commented Feb 15, 2024

When a Request is not handled and thus triggers the nohandler, it can be very useful to have a more verbose output to indicate which Request is unhandled.

This is particularly useful when you are in a test cycle and trying to determine which requests is mismatching.

Copy link

codecov bot commented Feb 15, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (f2ee166) 95.50% compared to head (e09fbed) 95.50%.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #276   +/-   ##
=======================================
  Coverage   95.50%   95.50%           
=======================================
  Files           4        4           
  Lines         601      601           
=======================================
  Hits          574      574           
  Misses         27       27           

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

@dublet dublet force-pushed the nohandler-longer-response branch 2 times, most recently from 9f9074f to a0207a0 Compare February 15, 2024 17:00
When a Request is not handled and thus triggers the nohandler, it can be
very useful to have a more verbose output to indicate which Request is
unhandled.
@csernazs
Copy link
Owner

Thanks! LGTM!

@csernazs csernazs merged commit 2bf432f into csernazs:master Feb 16, 2024
8 checks passed
csernazs added a commit that referenced this pull request Feb 16, 2024
csernazs added a commit that referenced this pull request Feb 16, 2024
@csernazs
Copy link
Owner

@dublet is it ok for you to have this released next week? I have released a version recently and I want to wait a bit.

@dublet
Copy link
Author

dublet commented Feb 16, 2024

@dublet is it ok for you to have this released next week? I have released a version recently and I want to wait a bit.

Yes, fine by me 👍

@csernazs
Copy link
Owner

@dublet pytest 1.0.10 has been released to pypi with your commit, thanks again!

For some reason the search on pypi is outdated for a few days but if you look at https://pypi.org/project/pytest_httpserver/ it will show the latest release as 1.0.10.

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.

3 participants