Skip to content

Commit 4d1abcc

Browse files
authored
Update example description for mocking calls
1 parent ab9e93d commit 4d1abcc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -225,8 +225,8 @@ It's very important that we test non-happy paths.
225225
with self.assertRaises(requests.exceptions.ConnectionError):
226226
requests.get(url)
227227
228-
Example of how to mock a call with a custom `can_handle` function
229-
=================================================================
228+
Example of how to mock a call with a custom request matching logic
229+
==================================================================
230230
.. code-block:: python
231231
232232
import json

0 commit comments

Comments
 (0)