diff options
| author | Stephen Martin <lockwood@opperline.com> | 2018-09-09 17:05:27 -0700 |
|---|---|---|
| committer | Stephen Martin <lockwood@opperline.com> | 2018-09-09 17:05:27 -0700 |
| commit | 6b6d0e4c2b4e56523bd41aefd9d462858e03f443 (patch) | |
| tree | 51aa7bdc1dec89a6109f469934379726ea9fb835 /docs/tutorials/wiki/tests.rst | |
| parent | 60ab8c81c0e0cda731792cf1ecd540e2d450cc1d (diff) | |
| download | pyramid-6b6d0e4c2b4e56523bd41aefd9d462858e03f443.tar.gz pyramid-6b6d0e4c2b4e56523bd41aefd9d462858e03f443.tar.bz2 pyramid-6b6d0e4c2b4e56523bd41aefd9d462858e03f443.zip | |
merging cookiecutters
Diffstat (limited to 'docs/tutorials/wiki/tests.rst')
| -rw-r--r-- | docs/tutorials/wiki/tests.rst | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/docs/tutorials/wiki/tests.rst b/docs/tutorials/wiki/tests.rst index c3a1ca79a..81b020594 100644 --- a/docs/tutorials/wiki/tests.rst +++ b/docs/tutorials/wiki/tests.rst @@ -16,16 +16,17 @@ 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`` 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``. +generated as part of the ``zodb`` backend 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``. 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`` cookiecutter provided, and add four other test classes: +added previously. As a result, we'll delete the ``ViewTests`` class that the +``zodb`` backend 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. |
