summaryrefslogtreecommitdiff
path: root/docs/tutorials/wiki/tests.rst
diff options
context:
space:
mode:
authorSteve Piercy <web@stevepiercy.com>2016-12-23 03:08:17 -0800
committerSteve Piercy <web@stevepiercy.com>2016-12-23 03:08:17 -0800
commitbeb4f1a1c771b295a41c65ba17b943a943f02911 (patch)
tree276819f9a65a6349b58196ba5805c62a8c6fe63e /docs/tutorials/wiki/tests.rst
parent933d3494b31286f45e5c460e0881b2a3cb616c42 (diff)
downloadpyramid-beb4f1a1c771b295a41c65ba17b943a943f02911.tar.gz
pyramid-beb4f1a1c771b295a41c65ba17b943a943f02911.tar.bz2
pyramid-beb4f1a1c771b295a41c65ba17b943a943f02911.zip
Use cookiecutter instead of scaffold and pcreate
- minor grammar and reST fixes
Diffstat (limited to 'docs/tutorials/wiki/tests.rst')
-rw-r--r--docs/tutorials/wiki/tests.rst14
1 files changed, 7 insertions, 7 deletions
diff --git a/docs/tutorials/wiki/tests.rst b/docs/tutorials/wiki/tests.rst
index 85a023cc9..1503aaa0f 100644
--- a/docs/tutorials/wiki/tests.rst
+++ b/docs/tutorials/wiki/tests.rst
@@ -16,7 +16,7 @@ We write tests for the ``model`` classes and the ``appmaker``. Changing
we'll write a test class for the ``appmaker``.
To do so, we'll retain the ``tutorial.tests.ViewTests`` class that was
-generated as part of the ``zodb`` scaffold. We'll add three test classes: one
+generated as part of the ``zodb`` cookiecutter. We'll add three test classes: one
for the ``Page`` model named ``PageModelTests``, one for the ``Wiki`` model
named ``WikiModelTests``, and one for the appmaker named ``AppmakerTests``.
@@ -24,8 +24,8 @@ Test the views
==============
We'll modify our ``tests.py`` file, adding tests for each view function we
-added previously. As a result, we'll *delete* the ``ViewTests`` class that
-the ``zodb`` scaffold provided, and add four other test classes:
+added previously. As a result, we'll delete the ``ViewTests`` class that
+the ``zodb`` cookiecutter provided, and add four other test classes:
``ViewWikiTests``, ``ViewPageTests``, ``AddPageTests``, and ``EditPageTests``.
These test the ``view_wiki``, ``view_page``, ``add_page``, and ``edit_page``
views.
@@ -52,7 +52,7 @@ Running the tests
=================
We can run these tests by using ``py.test`` similarly to how we did in
-:ref:`running_tests`. Courtesy of the scaffold, our testing dependencies have
+:ref:`running_tests`. Courtesy of the cookiecutter, our testing dependencies have
already been satisfied and ``py.test`` and coverage have already been
configured, so we can jump right to running tests.
@@ -66,11 +66,11 @@ On Windows:
.. code-block:: text
- c:\pyramidtut\tutorial> %VENV%\Scripts\py.test -q
+ c:\tutorial\> %VENV%\Scripts\py.test -q
The expected result should look like the following:
.. code-block:: text
- ........................
- 24 passed in 2.46 seconds
+ .........................
+ 25 passed in 6.87 seconds