diff options
author | Sviatoslav Sydorenko <wk.cvs.github@sydorenko.org.ua> | 2018-09-09 18:53:35 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-09 18:53:35 +0200 |
commit | eeaf1c9dfd25539f23b7d4a5b6b32e70331e4ed0 (patch) | |
tree | 01dbfda05673d62e3261c8fdd6f04720690d02af | |
parent | 0ee678a1b33abd6c64e88d36f3b4006b1b39ac04 (diff) | |
download | cherrypy-git-eeaf1c9dfd25539f23b7d4a5b6b32e70331e4ed0.tar.gz |
Fix reference to tut12
-rw-r--r-- | docs/tutorials.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/tutorials.rst b/docs/tutorials.rst index 98101246..85dd3c6a 100644 --- a/docs/tutorials.rst +++ b/docs/tutorials.rst @@ -1273,14 +1273,14 @@ To get code coverage, simply run .. code-block:: bash - $ pytest --cov=tut12 --cov-report term-missing test_tut02.py + $ pytest --cov=tut12 --cov-report term-missing test_tut12.py .. note:: To add coverage support to pytest, 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 tut02.py: +the python program is started directly. We can simply change the following lines in tut12.py: .. code-block:: python :lineno-start: 17 |