Skip to main content
Help us improve PyPI by participating in user testing. All experience levels needed!

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:

Release history Release notifications

This version
History Node


History Node


History Node


History Node


History Node


History Node


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 Apr 28, 2016
mockextras-1.0.2-py3-none-any.whl (8.0 kB) Copy SHA256 hash SHA256 Wheel 3.4 Apr 28, 2016
mockextras-1.0.2.tar.gz (8.6 kB) Copy SHA256 hash SHA256 Source None Apr 28, 2016 (231.8 kB) Copy SHA256 hash SHA256 Windows Installer any Apr 28, 2016 (13.4 kB) Copy SHA256 hash SHA256 Source None Apr 28, 2016

Supported by

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