From 1db3bacaab1f68344806ad91ebb6ab62c06a6788 Mon Sep 17 00:00:00 2001 From: Steve Piercy Date: Mon, 8 Oct 2018 02:21:20 -0700 Subject: Replace [test] with [testing], and quote as needed --- docs/quick_tutorial/functional_testing.rst | 4 ++-- docs/quick_tutorial/unit_testing.rst | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'docs/quick_tutorial') diff --git a/docs/quick_tutorial/functional_testing.rst b/docs/quick_tutorial/functional_testing.rst index d3ada3793..236152003 100644 --- a/docs/quick_tutorial/functional_testing.rst +++ b/docs/quick_tutorial/functional_testing.rst @@ -45,11 +45,11 @@ Steps :emphasize-lines: 14 #. 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]" #. Let's extend ``functional_testing/tutorial/tests.py`` to include a functional test: 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``: -- cgit v1.2.3