summaryrefslogtreecommitdiff
path: root/docs/tutorials/wiki2/tests.rst
diff options
context:
space:
mode:
authorMichael Merickel <michael@merickel.org>2016-02-08 00:43:47 -0600
committerMichael Merickel <michael@merickel.org>2016-02-08 00:43:47 -0600
commit1c108019dae884e810d6436e10f8648c77bdd181 (patch)
tree2298da54215408ddbc76c7e52c45c88c262d1d6c /docs/tutorials/wiki2/tests.rst
parent0b02e46ff9dafcdf9d4c03bac2958c8b20c596f6 (diff)
downloadpyramid-1c108019dae884e810d6436e10f8648c77bdd181.tar.gz
pyramid-1c108019dae884e810d6436e10f8648c77bdd181.tar.bz2
pyramid-1c108019dae884e810d6436e10f8648c77bdd181.zip
[wip] update tests in wiki2 tutorial
Diffstat (limited to 'docs/tutorials/wiki2/tests.rst')
-rw-r--r--docs/tutorials/wiki2/tests.rst8
1 files changed, 8 insertions, 0 deletions
diff --git a/docs/tutorials/wiki2/tests.rst b/docs/tutorials/wiki2/tests.rst
index fe3fdaf2c..a99cd68cc 100644
--- a/docs/tutorials/wiki2/tests.rst
+++ b/docs/tutorials/wiki2/tests.rst
@@ -18,6 +18,14 @@ subpackage, and add several new tests.
Start by creating a new directory and a new empty file ``tests/__init__.py``.
+.. warning::
+
+ It is very important when refactoring a Python module into a package to
+ be sure to delete the cache files (``.pyc`` files or ``__pycache__``
+ folders) sitting around! Python will prioritize the cache files before
+ traversing into folders and so it will use the old code and you will wonder
+ why none of your changes are working!
+
Test the views
==============