diff options
Diffstat (limited to 'python/mock/README')
-rw-r--r-- | python/mock/README | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/python/mock/README b/python/mock/README index 78559c943f..448beb6f81 100644 --- a/python/mock/README +++ b/python/mock/README @@ -1,10 +1,9 @@ -mock implements a Mocking and Testing Library in Python +mock (unit test library for Python 2) -mock is a Python module that provides a core Mock class. It removes -the need to create a host of stubs throughout your test suite. -The mock module also provides a patch() decorator that handles -patching module and class level attributes within the scope of a -test, along with sentinel for creating unique objects. -mock is tested on Python versions 2.4-2.7 and Python 3. +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. -This is required by tahoe-lafs +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. |