Skip to content

Commit

Permalink
Docs: mentioned the need for static assets in view tests
Browse files Browse the repository at this point in the history
  • Loading branch information
julen committed Mar 11, 2014
1 parent 41a61d7 commit 7f5368f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/developers/testing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,12 @@ However, if you're developing you can simply run
from the root of the repository. Note that you need to install the testing
requirements into your virtualenv first (*requirements/tests.txt*).

.. note::

Since the test runner automatically sets the ``DEBUG`` setting to
``False``, the static assets need to be collected before running the
view tests. You can run ``make assets`` for building them.

The ``py.test`` runner command offers several options which are extended
by plugins as well. Check `its documentation <http://pytest.org/latest/>`_
for further details.
Expand Down

0 comments on commit 7f5368f

Please sign in to comment.