summaryrefslogtreecommitdiff
path: root/docs/tutorials/wiki2/tests.rst
diff options
context:
space:
mode:
authorTheron Luhn <theron@luhn.com>2020-11-07 11:28:05 -0800
committerTheron Luhn <theron@luhn.com>2020-11-07 11:28:05 -0800
commitf10f81ccdfbf44cfa92ef5fcdcb84e6fed4053fb (patch)
tree763c82565f2b1bfdf0fc608701904ddedb7e697f /docs/tutorials/wiki2/tests.rst
parentb6d38775646efb551f790da948fefb9b25422be8 (diff)
downloadpyramid-f10f81ccdfbf44cfa92ef5fcdcb84e6fed4053fb.tar.gz
pyramid-f10f81ccdfbf44cfa92ef5fcdcb84e6fed4053fb.tar.bz2
pyramid-f10f81ccdfbf44cfa92ef5fcdcb84e6fed4053fb.zip
Remove request.user from wiki2 testing tutorial.
Diffstat (limited to 'docs/tutorials/wiki2/tests.rst')
-rw-r--r--docs/tutorials/wiki2/tests.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/tutorials/wiki2/tests.rst b/docs/tutorials/wiki2/tests.rst
index 1bf38d988..cee7a809d 100644
--- a/docs/tutorials/wiki2/tests.rst
+++ b/docs/tutorials/wiki2/tests.rst
@@ -110,7 +110,7 @@ Integration tests
We can directly execute the view code, bypassing :app:`Pyramid` and testing just the code that we've written.
These tests use dummy requests that we'll prepare appropriately to set the conditions each view expects.
-For example, setting ``request.user``, or adding some dummy data to the session.
+For example, setting ``request.identity``, or adding some dummy data to the session.
Update ``tests/test_views.py`` such that it appears as follows: