The API is being used improperly:
def restore(self): """Restore changes in the environment, and return to recording mode.
def reset(self): """Reset the mocker state.
This will restore environment changes, if currently in replay mode, and then remove all events previously recorded. """
The API is being used improperly:
def restore(self):
"""Restore changes in the environment, and return to recording mode.
def reset(self):
"""Reset the mocker state.
This will restore environment changes, if currently in replay
mode, and then remove all events previously recorded.
"""