Skip to content

doc: extract howto examples to tests - #192

Merged
csernazs merged 2 commits into
masterfrom
test-examples
Jan 21, 2023
Merged

csernazs merged 2 commits into
masterfrom
test-examples

Conversation

@csernazs

Copy link
Copy Markdown
Owner

The main reason for doing this is to test the examples.
Some examples has been also fixed in this commit because of this.

@codecov

codecov Bot commented Oct 29, 2022 •

Copy link
Copy Markdown

Codecov Report

Merging #192 (082c0d5) into master (702b89e) will increase coverage by 0.36%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #192      +/-   ##
==========================================
+ Coverage   95.25%   95.61%   +0.36%     
==========================================
  Files           4        4              
  Lines         590      593       +3     
==========================================
+ Hits          562      567       +5     
+ Misses         28       26       -2     
Impacted Files Coverage Δ
pytest_httpserver/httpserver.py 95.75% <100.00%> (+0.47%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

The main reason for doing this is to test the examples.
Some examples has been also fixed in this commit because of this.
Replace HeaderValueMatcher with a callable as it impplements the callable
protocol and users can provide a callable also, as it is described in the
howto.
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.

1 participant