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

Download files

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

Files for mockextras, version 1.0.2
Filename, size File type Python version Upload date Hashes
Filename, size mockextras-1.0.2-py2-none-any.whl (8.1 kB) File type Wheel Python version 2.7 Upload date Hashes View
Filename, size mockextras-1.0.2-py3-none-any.whl (8.0 kB) File type Wheel Python version 3.4 Upload date Hashes View
Filename, size mockextras-1.0.2.tar.gz (8.6 kB) File type Source Python version None Upload date Hashes View
Filename, size mockextras-1.0.2.win-amd64.exe (231.8 kB) File type Windows Installer Python version any Upload date Hashes View
Filename, size mockextras-1.0.2.zip (13.4 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page