Skip to main content

Rolling backport of unittest.mock for all Pythons

Project description

mock is a library for testing in Python. It allows you to replace parts of your system under test with mock objects and make assertions about how they have been used.

mock is now part of the Python standard library, available as unittest.mock in Python 3.3 onwards.

This package contains a rolling backport of the standard library mock code compatible with Python 2.6 and up, and 3.3 and up.

Please see the standard library documentation for more details.

Homepage:

Mock Homepage

Download:

Mock on PyPI

Documentation:

Python Docs

License:

BSD License

Support:

Mailing list (testing-in-python@lists.idyll.org)

Issue tracker:

Github Issues

Build status:https://travis-ci.org/testing-cabal/mock.svg?branch=master

Release history Release notifications

This version
History Node

2.0.0

History Node

1.3.0

History Node

1.2.0

History Node

1.1.4

History Node

1.1.3

History Node

1.1.2

History Node

1.1.1

History Node

1.1.0

History Node

1.0.2.dev57

History Node

1.0.1

History Node

1.0.0

History Node

1.0b1

History Node

0.8.0

History Node

0.7.2

History Node

0.7.1

History Node

0.7.0

History Node

0.7.0rc1

History Node

0.7.0b4

History Node

0.7.0b3

History Node

0.7.0b2

History Node

0.7.0b1

History Node

0.6.0

History Node

0.5.0

History Node

0.4.0

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
mock-2.0.0-py2.py3-none-any.whl (56.8 kB) Copy SHA256 hash SHA256 Wheel 2.7 Apr 6, 2016
mock-2.0.0.tar.gz (73.7 kB) Copy SHA256 hash SHA256 Source None Apr 6, 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