Ticket #4955: testing_txt.patch
File testing_txt.patch, 1.9 KB (added by , 17 years ago) |
---|
-
testing.txt
353 353 a cookie to expire, either delete it manually or create a new Client 354 354 instance (which will effectively delete all cookies). 355 355 356 There are t woproperties of the Test Client which are used to store persistent356 There are three properties of the Test Client which are used to store persistent 357 357 state information. If necessary, these properties can be interrogated as 358 358 part of a test condition. 359 359 360 =============== ==========================================================361 Property Description362 =============== ==========================================================363 ``cookies`` A Python ``SimpleCookie`` object, containing the current364 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. 365 365 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 ==================== ========================================================== 369 372 370 373 .. _`session documentation`: ../sessions/ 371 374