Skip to main content

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

Release files for mock 1.1.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mock 1.1.4
File Size Uploaded
mock-1.1.4.tar.gz 70.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for mock 1.1.4
File Interpreter ABI Platform
mock-1.1.4-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size: 126.7 kB

Release files / mock-1.1.4.tar.gz

Download URL mock-1.1.4.tar.gz
Size 70.6 kB
Tags Source
SHA-256 checksum
How to use checksums
9b10003448a058e76ca2dd545807978606803b4ee81ffcae15d134b7de221a21
BLAKE2b-256 checksum
How to use checksums
a3eb4f80a838be8a14e668c5efa2ed7638a54817c71c35b086b7d74753db0065
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / mock-1.1.4-py2.py3-none-any.whl

Download URL mock-1.1.4-py2.py3-none-any.whl
Size 56.1 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
625845f1f026ec8cc73c9171f964cedc8280e8ba40173bf97a7b2515ad28a874
BLAKE2b-256 checksum
How to use checksums
9e5853ec7654a08549ee5191653e35776eeff5f98f13e38b43bdc491d8ddf53a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

5.2.0

2 release files

5.1.0

2 release files

5.0.2

2 release files

5.0.1

2 release files

5.0.0

2 release files

4.0.3

2 release files

4.0.2

2 release files

4.0.1

2 release files

4.0.0

1 release file

3.0.5

2 release files

3.0.4

2 release files

3.0.3

2 release files

3.0.2

2 release files

3.0.1

2 release files

3.0.0

2 release files

2.0.0

2 release files

1.3.0

2 release files

1.2.0

2 release files

This release

1.1.4 This release

2 release files

1.1.3

2 release files

1.1.2

2 release files

1.1.1

1 release file

1.1.0

2 release files

1.0.1

2 release files

1.0.0

2 release files

0.8.0

2 release files

0.7.2

2 release files

0.7.1

2 release files

0.7.0

2 release files

0.6.0

2 release files

0.5.0

1 release file

0.4.0

3 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page