summaryrefslogtreecommitdiff
path: root/python/mock/README
blob: f9fa27381acc74e35cc8be08841e3e4025500396 (plain)
1
2
3
4
5
6
7
8
9
mock (unit test library for Python 2)

mock is a library for testing in Python 2. It allows you to replace
parts of your system under test with mock objects, and to make
assertions about how they have been used.

IMPORTANT: For Python3 you do not need this module. Please use the
standard library instead (unittest.mock). This package contains a
rolling backport of the standard library compatible with Python 2.7.