doc: improve documentation by preferring check() method over check_as… · sysfce2/python-pytest-httpserver@cf873ff · GitHub
Skip to content

Commit cf873ff

Browse files
csernazsHayaoSuzuki
andcommitted
doc: improve documentation by preferring check() method over check_assertions()
Co-authored-by: Hayao <hayao_s@tokyo-gas.co.jp>
1 parent 83d9f9f commit cf873ff

3 files changed

Lines changed: 15 additions & 15 deletions

File tree

doc/tutorial.rst

Lines changed: 13 additions & 13 deletions

tests/examples/test_example_blocking_httpserver.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ def httpserver():
2222
# this is to check if the client has made any request where no
2323
# `assert_request` was called on it from the test
2424

25-
server.check_assertions()
25+
server.check()
2626
server.clear()
2727

2828

tests/examples/test_howto_check.py

Lines changed: 1 addition & 1 deletion

0 commit comments

Comments
 (0)