diff options
| -rw-r--r-- | docs/quick_tutorial/unit_testing.rst | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/docs/quick_tutorial/unit_testing.rst b/docs/quick_tutorial/unit_testing.rst index 002c62fde..a6a41981d 100644 --- a/docs/quick_tutorial/unit_testing.rst +++ b/docs/quick_tutorial/unit_testing.rst @@ -48,23 +48,23 @@ Steps .. code-block:: bash - $ cd ..; cp -r debugtoolbar unit_testing; cd unit_testing - $ $VENV/bin/pip install -e . - $ $VENV/bin/pip install pytest + cd ..; cp -r debugtoolbar unit_testing; cd unit_testing + $VENV/bin/pip install -e . + $VENV/bin/pip install pytest #. Now we write a simple unit test in ``unit_testing/tutorial/tests.py``: .. literalinclude:: unit_testing/tutorial/tests.py - :linenos: + :linenos: #. Now run the tests: .. code-block:: bash - $ $VENV/bin/py.test tutorial/tests.py -q - . - 1 passed in 0.14 seconds + $VENV/bin/py.test tutorial/tests.py -q + . + 1 passed in 0.14 seconds Analysis |
