Skip to content

Commit 9faa252

Browse files
authored
Update README.rst
1 parent 9bb1e40 commit 9faa252

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

README.rst

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,15 @@ Let's fire our example test::
141141

142142
$ py.test example.py
143143

144+
145+
How to be sure that all the calls are properly mocked?
146+
======================================================
147+
Add this instruction at the end of the test execution:
148+
149+
.. code-block:: python
150+
151+
Mocket.assert_fail_if_entries_not_served()
152+
144153
Example of how to fake socket errors
145154
====================================
146155

0 commit comments

Comments
 (0)