Ticket #4955: testing_txt.patch

File testing_txt.patch, 1.9 KB (added by starr horne <snhorne@…>, 17 years ago)

/docs/testing.txt

  • testing.txt

     
    353353a cookie to expire, either delete it manually or create a new Client
    354354instance (which will effectively delete all cookies).
    355355
    356 There are two properties of the Test Client which are used to store persistent
     356There are three properties of the Test Client which are used to store persistent
    357357state information. If necessary, these properties can be interrogated as
    358358part of a test condition.
    359359
    360     ===============  ==========================================================
    361     Property         Description
    362     ===============  ==========================================================
    363     ``cookies``      A Python ``SimpleCookie`` object, containing the current
    364                      values of all the client cookies.
     360    ====================  ==========================================================
     361    Property              Description
     362    ====================  ==========================================================
     363    ``cookies``           A Python ``SimpleCookie`` object, containing the current
     364                          values of all the client cookies.
    365365
    366     ``session``      A dictionary-like object containing session information.
    367                      See the `session documentation`_ for full details.
    368     ===============  ==========================================================
     366    ``session``           A dictionary-like object containing session information.
     367                          See the `session documentation`_ for full details.
     368                     
     369    ``previous_request``  The WSGIRequest object that was created during the previous
     370                          GET or POST request.
     371    ====================  ==========================================================
    369372
    370373.. _`session documentation`: ../sessions/
    371374
Back to Top