requests-mock/releasenotes/notes/Add-called_once-property-a69546448cbd5542.yaml
Jamie Lennox 0c6e567ec7 Add a called_once property to adapter
Mock has a useful feature called assert_called_once. We don't have the
asserts here, but having called_once as a property is an easy way to
emulate this.

Change-Id: I59dfb53830195e73884fa0ca8a43b1de91fa1425
2016-09-02 05:56:17 +00:00

7 lines
208 B
YAML

---
prelude: >
Add a called_once property to the mockers.
features:
- A called_once property was added to the adapter and the mocker. This gives
us an easy way to emulate mock's assert_called_once.