summaryrefslogtreecommitdiff
path: root/devel/py-mock/pkg-descr
blob: c77c214a239b1a98870164894df52b4ba3b19758 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
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 3.4 and up.

WWW: https://mock.readthedocs.org/en/latest/