Permalink
Browse files

[svn] updated extra paste.fixture response attributes

--HG--
branch : trunk
  • Loading branch information...
1 parent 9b5b285 commit a30fa92436179c1285527e299e9938752ac1b3ed pjenvey committed Jul 27, 2006
Showing with 5 additions and 12 deletions.
  1. +5 −12 docs/testing_web_application.txt
@@ -16,19 +16,12 @@ Pylons will provide several additional attributes for the ``paste.fixture`` resp
``session``
Session object
-``request``
+``req``
Request object
-``m``
- Myghty object
-``comp_calls``
- List of component calls, including any ``scomp``, ``comp``, and ``subexec`` thats executed during the request. Each item of the list is a dict with the keys:
-
- ``comp_type``
- The type of component call, i.e. ``scomp``, ``comp``, or ``subexec``
- ``template``
- Template name that was called, i.e. ``/some/template.myt``
- ``params``
- Dict of keyword args that the component was called with
+``c``
+ Object containing variables passed to templates
+``g``
+ Globals object
To use them, merely access the attributes of the response *after* you've used a get/post command::

0 comments on commit a30fa92

Please sign in to comment.