summaryrefslogtreecommitdiff
path: root/docs/quick_tutorial/unit_testing.rst
diff options
context:
space:
mode:
authorSteve Piercy <web@stevepiercy.com>2018-10-08 02:21:20 -0700
committerSteve Piercy <web@stevepiercy.com>2018-10-08 02:21:20 -0700
commit1db3bacaab1f68344806ad91ebb6ab62c06a6788 (patch)
treeecf1851240e1671a3a69ede8b9998c2ebb59689c /docs/quick_tutorial/unit_testing.rst
parenta1bc90aeca43111e5fe68132721185e8b6ebfa94 (diff)
downloadpyramid-1db3bacaab1f68344806ad91ebb6ab62c06a6788.tar.gz
pyramid-1db3bacaab1f68344806ad91ebb6ab62c06a6788.tar.bz2
pyramid-1db3bacaab1f68344806ad91ebb6ab62c06a6788.zip
Replace [test] with [testing], and quote as needed
Diffstat (limited to 'docs/quick_tutorial/unit_testing.rst')
-rw-r--r--docs/quick_tutorial/unit_testing.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/quick_tutorial/unit_testing.rst b/docs/quick_tutorial/unit_testing.rst
index 2e58ee8d9..283730f0f 100644
--- a/docs/quick_tutorial/unit_testing.rst
+++ b/docs/quick_tutorial/unit_testing.rst
@@ -54,14 +54,14 @@ Steps
.. literalinclude:: unit_testing/setup.py
:language: python
:linenos:
- :emphasize-lines: 11-15
+ :emphasize-lines: 11-16, 21-23
#. Install our project and its newly added dependency.
- Note that we use the extra specifier ``[test]`` to install testing requirements.
+ Note that we use the extra specifier ``[testing]`` to install testing requirements and surround it with double quote marks.
.. code-block:: bash
- $VENV/bin/pip install -e .[test]
+ $VENV/bin/pip install -e ".[testing]"
#. Now we write a simple unit test in ``unit_testing/tutorial/tests.py``: