summaryrefslogtreecommitdiff
path: root/docs/tutorials/wiki2/tests.rst
diff options
context:
space:
mode:
Diffstat (limited to 'docs/tutorials/wiki2/tests.rst')
-rw-r--r--docs/tutorials/wiki2/tests.rst13
1 files changed, 11 insertions, 2 deletions
diff --git a/docs/tutorials/wiki2/tests.rst b/docs/tutorials/wiki2/tests.rst
index 7a4e65529..8acf0d761 100644
--- a/docs/tutorials/wiki2/tests.rst
+++ b/docs/tutorials/wiki2/tests.rst
@@ -48,8 +48,17 @@ Running the Tests
=================
We can run these tests by using ``setup.py test`` in the same way we did in
-:ref:`running_tests`. Assuming our shell's current working directory is the
-"tutorial" distribution directory:
+:ref:`running_tests`. However, first we must edit our ``setup.py`` to
+include a dependency on WebTest, which we've used in our ``tests.py``.
+Change the ``requires`` list in ``setup.py`` to include ``WebTest``.
+
+.. literalinclude:: src/tests/setup.py
+ :linenos:
+ :language: python
+ :lines: 10-19
+
+After we've added a dependency on WebTest in ``setup.py``, assuming our
+shell's current working directory is the "tutorial" distribution directory:
On UNIX: