mock (original) (raw)

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 3.6 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)

Code:

GitHub

Issue tracker:

GitHub Issues

Build status:

CircleCI Docs

Project details

Download files

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

Source Distribution

Built Distribution

File details

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

File metadata

File hashes

Hashes for mock-5.2.0.tar.gz | Algorithm | Hash digest | | | ----------- | ---------------------------------------------------------------- | | | SHA256 | 4e460e818629b4b173f32d08bf30d3af8123afbb8e04bb5707a1fd4799e503f0 | | | MD5 | 8a260b3532ed26ae0df42a80c2178f8d | | | BLAKE2b-256 | 078c14c2ae915e5f9dca5a22edd68b35be94400719ccfa068a03e0fb63d0f6f6 | |

See more details on using hashes here.

File details

Details for the file mock-5.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for mock-5.2.0-py3-none-any.whl | Algorithm | Hash digest | | | ----------- | ---------------------------------------------------------------- | | | SHA256 | 7ba87f72ca0e915175596069dbbcc7c75af7b5e9b9bc107ad6349ede0819982f | | | MD5 | 32a2183cf80a7866679039de1d2d2f37 | | | BLAKE2b-256 | bdd9617e6af809bf3a1d468e0d58c3997b1dc219a9a9202e650d30c2fc85d481 | |

See more details on using hashes here.