Skip to main content

Extensions to the mock library

Project description

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/ and the source is here: http://github.com/manahl/mockextras

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

mockextras-1.0.2.zip (13.4 kB view hashes)

Uploaded Source

mockextras-1.0.2.tar.gz (8.6 kB view hashes)

Uploaded Source

Built Distributions

mockextras-1.0.2.win-amd64.exe (231.8 kB view hashes)

Uploaded Source

mockextras-1.0.2-py3-none-any.whl (8.0 kB view hashes)

Uploaded Python 3

mockextras-1.0.2-py2-none-any.whl (8.1 kB view hashes)

Uploaded Python 2

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page