mockextras

Extensions to the mock library


License
BSD-3-Clause
Install
pip install mockextras==1.0.2

Documentation

The mockextras library is designed to be used with the unittest.mock library in python 3 or the mock backport of this (http://www.voidspace.org.uk/python/mock/) in python 2. The mockextras library adds a number of features that are found in other mocking libraries namely:

  • a fluent API for the configuration of stubs
  • stubs
  • matchers

The documentation is here: http://mockextras.readthedocs.org/

Build Status Coverage Status Code Health