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.2 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

Download files

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

Source Distribution

mock-1.1.4.tar.gz (70.6 kB view details)

Uploaded Source

Built Distribution

mock-1.1.4-py2.py3-none-any.whl (56.1 kB view details)

Uploaded Python 2Python 3

File details

Details for the file mock-1.1.4.tar.gz.

File metadata

  • Download URL: mock-1.1.4.tar.gz
  • Upload date:
  • Size: 70.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for mock-1.1.4.tar.gz
Algorithm Hash digest
SHA256 9b10003448a058e76ca2dd545807978606803b4ee81ffcae15d134b7de221a21
MD5 84afbeb2415bf3d6608dac4423a56325
BLAKE2b-256 a3eb4f80a838be8a14e668c5efa2ed7638a54817c71c35b086b7d74753db0065

See more details on using hashes here.

File details

Details for the file mock-1.1.4-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for mock-1.1.4-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 625845f1f026ec8cc73c9171f964cedc8280e8ba40173bf97a7b2515ad28a874
MD5 15bc5de126d963895c47311cdbca8e81
BLAKE2b-256 9e5853ec7654a08549ee5191653e35776eeff5f98f13e38b43bdc491d8ddf53a

See more details on using hashes here.

Supported by

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