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 ( 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: and the source is here:

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
mockextras-1.0.2-py2-none-any.whl (8.1 kB) Copy SHA256 hash SHA256 Wheel 2.7
mockextras-1.0.2-py3-none-any.whl (8.0 kB) Copy SHA256 hash SHA256 Wheel 3.4
mockextras-1.0.2.tar.gz (8.6 kB) Copy SHA256 hash SHA256 Source None (231.8 kB) Copy SHA256 hash SHA256 Windows Installer any (13.4 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page