Skip to content
Snippets Groups Projects
Commit 8f119eef authored by Michael Foord's avatar Michael Foord
Browse files

README changes for 0.7.0 release

parent 166ba110
No related branches found
No related tags found
No related merge requests found
...@@ -9,11 +9,15 @@ mock is tested on Python versions 2.4-2.7 and Python 3. ...@@ -9,11 +9,15 @@ mock is tested on Python versions 2.4-2.7 and Python 3.
The mock module also provides utility functions / objects to assist with The mock module also provides utility functions / objects to assist with
testing, particularly monkey patching. testing, particularly monkey patching.
* `PDF documentation for 0.7.0 <http://www.voidspace.org.uk/downloads/mock-0.7.0.pdf>`_ * `PDF documentation for 0.7.0
* `mock on google code (repository and issue tracker) <http://code.google.com/p/mock/>`_ <http://www.voidspace.org.uk/downloads/mock-0.7.0.pdf>`_
* `mock documentation <http://www.voidspace.org.uk/python/mock/>`_ * `mock on google code (repository and issue tracker)
<http://code.google.com/p/mock/>`_
* `mock documentation
<http://www.voidspace.org.uk/python/mock/>`_
* `mock on PyPI <http://pypi.python.org/pypi/mock/>`_ * `mock on PyPI <http://pypi.python.org/pypi/mock/>`_
* `Mailing list (testing-in-python@lists.idyll.org) <http://lists.idyll.org/listinfo/testing-in-python>`_ * `Mailing list (testing-in-python@lists.idyll.org)
<http://lists.idyll.org/listinfo/testing-in-python>`_
Mock is very easy to use and is designed for use with Mock is very easy to use and is designed for use with
`unittest <http://pypi.python.org/pypi/unittest2>`_. Mock is based on `unittest <http://pypi.python.org/pypi/unittest2>`_. Mock is based on
...@@ -79,7 +83,6 @@ mock (or other object) during the test and restored when the test ends:: ...@@ -79,7 +83,6 @@ mock (or other object) during the test and restored when the test ends::
decorators are applied). This means from the bottom up, so in the example decorators are applied). This means from the bottom up, so in the example
above the mock for `test_module.ClassName2` is passed in first. above the mock for `test_module.ClassName2` is passed in first.
With `patch` it matters that you patch objects in the namespace where they With `patch` it matters that you patch objects in the namespace where they
are looked up. This is normally straightforward, but for a quick guide are looked up. This is normally straightforward, but for a quick guide
read `where to patch read `where to patch
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment