diff options
| author | Theron Luhn <theron@luhn.com> | 2020-11-07 11:28:05 -0800 |
|---|---|---|
| committer | Theron Luhn <theron@luhn.com> | 2020-11-07 11:28:05 -0800 |
| commit | f10f81ccdfbf44cfa92ef5fcdcb84e6fed4053fb (patch) | |
| tree | 763c82565f2b1bfdf0fc608701904ddedb7e697f /docs/tutorials/wiki2/tests.rst | |
| parent | b6d38775646efb551f790da948fefb9b25422be8 (diff) | |
| download | pyramid-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.rst | 2 |
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: |
