summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaphaël Barrois <raphael.barrois@polyconseil.fr>2013-03-11 17:20:36 +0100
committerRaphaël Barrois <raphael.barrois@polyconseil.fr>2013-03-11 17:21:02 +0100
commitb2e798257bfb69729e8b3f6012889517ddf7b512 (patch)
tree61d9ddbf634b0568ac0591ba03cecf0abe3c6620
parentc5ea364df829974aaee1d84cf70d96a125afe464 (diff)
downloadfactory-boy-b2e798257bfb69729e8b3f6012889517ddf7b512.tar
factory-boy-b2e798257bfb69729e8b3f6012889517ddf7b512.tar.gz
Document need for mock/unittest.
-rw-r--r--README5
-rw-r--r--tox.ini6
2 files changed, 11 insertions, 0 deletions
diff --git a/README b/README
index 0f20d84..a3fa2e4 100644
--- a/README
+++ b/README
@@ -198,6 +198,11 @@ All pull request should pass the test suite, which can be launched simply with:
$ python setup.py test
+.. note::
+
+ Running test requires the unittest2 (standard in Python 2.7+) and mock libraries.
+
+
In order to test coverage, please use:
.. code-block:: sh
diff --git a/tox.ini b/tox.ini
index 204bde9..2200f56 100644
--- a/tox.ini
+++ b/tox.ini
@@ -8,4 +8,10 @@ commands=
[testenv:py26]
deps=
+ mock
unittest2
+
+[textenv:py27]
+
+deps=
+ mock