summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorSviatoslav Sydorenko <wk.cvs.github@sydorenko.org.ua>2018-09-09 19:16:34 +0200
committerGitHub <noreply@github.com>2018-09-09 19:16:34 +0200
commit1db981c235978f1a0ea312f0ffa0a9d6944949ed (patch)
treefbda8fe5793f7e4157a36cac27f76f6124052bd4 /docs
parent6f5c1ce66eca82a9e062b83c3736a2e7ef83fe28 (diff)
downloadcherrypy-git-1db981c235978f1a0ea312f0ffa0a9d6944949ed.tar.gz
Add more terms highlighting and refs
Diffstat (limited to 'docs')
-rw-r--r--docs/tutorials.rst10
1 files changed, 5 insertions, 5 deletions
diff --git a/docs/tutorials.rst b/docs/tutorials.rst
index 22a608b5..25db5cdf 100644
--- a/docs/tutorials.rst
+++ b/docs/tutorials.rst
@@ -1230,7 +1230,7 @@ Let's revisit :ref:`Tutorial 2 <tut02>`.
if __name__ == '__main__':
cherrypy.quickstart(StringGenerator())
-Save this into a file named `tut12.py`.
+Save this into a file named ``tut12.py``.
Now make the test file:
@@ -1254,7 +1254,7 @@ Now make the test file:
self.getPage("/generate")
self.assertStatus('200 OK')
-Save this into a file named 'test_tut12.py' and run
+Save this into a file named ``test_tut12.py`` and run
.. code-block:: bash
@@ -1262,7 +1262,7 @@ Save this into a file named 'test_tut12.py' and run
.. note::
- If you don't have pytest installed, you'll need to install it by ``pip install pytest``
+ If you don't have `pytest <https://pytest.org>`_ installed, you'll need to install it by ``pip install pytest``
We now have a neat way that we can exercise our application making tests.
@@ -1277,10 +1277,10 @@ To get code coverage, simply run
.. note::
- To add coverage support to pytest, you'll need to install it by ``pip install pytest-cov``
+ To `add coverage support to pytest <https://pytest-cov.rtfd.io>`_, you'll need to install it by ``pip install pytest-cov``
This tells us that one line is missing. Of course it is because that is only executed when
-the python program is started directly. We can simply change the following lines in tut12.py:
+the python program is started directly. We can simply change the following lines in ``tut12.py``:
.. code-block:: python
:lineno-start: 17