Skip to content

Commit

Permalink
Updated testing section.
Browse files Browse the repository at this point in the history
Use dev_requirements.txt in order to run tests.
  • Loading branch information
rca committed Mar 11, 2013
1 parent a79f352 commit 1fac473
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions HACKING.rst
Original file line number Diff line number Diff line change
Expand Up @@ -282,13 +282,9 @@ If it is less than 2047, you should increase it with::
Running the tests
~~~~~~~~~~~~~~~~~

You will need ``mock`` to run the tests::
For running tests, you'll also need to install ``dev_requirements.txt``::

pip install mock

If you are on Python < 2.7 then you will also need unittest2::

pip install unittest2
pip install -r dev_requirements.txt

Finally you use setup.py to run the tests with the following command::

Expand Down

0 comments on commit 1fac473

Please sign in to comment.