summaryrefslogtreecommitdiff
path: root/docs/quick_tour.rst
diff options
context:
space:
mode:
authorPaul Cutler <paul.r.cutler@gmail.com>2018-10-03 09:54:27 -0500
committerPaul Cutler <paul.r.cutler@gmail.com>2018-10-03 09:54:27 -0500
commitd363b4ef2ac1463df99993841749c536aacbd07f (patch)
tree114dd29179da08bba6678760887318bc4601de99 /docs/quick_tour.rst
parent0f9ea0cd3fd99aade91160c6fe833b7295b85254 (diff)
downloadpyramid-d363b4ef2ac1463df99993841749c536aacbd07f.tar.gz
pyramid-d363b4ef2ac1463df99993841749c536aacbd07f.tar.bz2
pyramid-d363b4ef2ac1463df99993841749c536aacbd07f.zip
Change references to "py.test" in Quick Tour
Change reference of "py.test" to "pytest" per pytest 3.0 release in the Quick Tour documentation page
Diffstat (limited to 'docs/quick_tour.rst')
-rw-r--r--docs/quick_tour.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/quick_tour.rst b/docs/quick_tour.rst
index 26195a701..123bd3a51 100644
--- a/docs/quick_tour.rst
+++ b/docs/quick_tour.rst
@@ -675,7 +675,7 @@ the relevant ``.ini`` configuration file.
:ref:`Quick Tutorial pyramid_debugtoolbar <qtut_debugtoolbar>` and
:ref:`pyramid_debugtoolbar <toolbar:overview>`
-Unit tests and ``py.test``
+Unit tests and ``pytest``
==========================
Yikes! We got this far and we haven't yet discussed tests. This is particularly
@@ -684,7 +684,7 @@ before its release.
Our ``pyramid-cookiecutter-starter`` cookiecutter generated a ``tests.py`` module with
one unit test and one functional test in it. It also configured ``setup.py`` with test requirements:
-``py.test`` as the test runner, ``WebTest`` for running view tests, and the
+``pytest`` as the test runner, ``WebTest`` for running view tests, and the
``pytest-cov`` tool which yells at us for code that isn't tested:
.. literalinclude:: quick_tour/package/setup.py
@@ -701,7 +701,7 @@ We already installed the test requirements when we ran the command ``$VENV/bin/p
.. code-block:: bash
- $VENV/bin/py.test --cov --cov-report=term-missing
+ $VENV/bin/pytest --cov --cov-report=term-missing
This yields the following output.