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.7 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.1.tar.gz (69.7 kB view details)

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for mock-1.1.1.tar.gz
Algorithm Hash digest
SHA256 797dfdbbc6e0d745cb3b1bdfbc063f9b18d08703b808356fe7b16e2dd039ac16
MD5 8cb5eb66d88f09b13edc6aae80271f1c
BLAKE2b-256 2b782b8bb89e311c3e11ea87bd29ab05a94c68ce2c9137f679e5cf275f1a73e5

See more details on using hashes here.

Supported by

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