Back to index

plone3  3.1.7
Public Member Functions | Static Public Attributes
Archetypes.tests.utils.FakeRequestSession Class Reference
Inheritance diagram for Archetypes.tests.utils.FakeRequestSession:
Inheritance graph
Collaboration diagram for Archetypes.tests.utils.FakeRequestSession:
Collaboration graph

List of all members.

Public Member Functions

def __init__
def __nonzero__
def set

Static Public Attributes

tuple security = ClassSecurityInfo()

Detailed Description

Dummy dict like object with set method for SESSION and REQUEST

Definition at line 191 of file

Constructor & Destructor Documentation

Definition at line 198 of file

00199     def __init__(self):
00200         UserDict.__init__(self)
00201         # add a dummy because request mustn't be empty for test
00202         # like 'if REQUEST:'
00203         self['__dummy__'] = None

Member Function Documentation

Definition at line 204 of file

00205     def __nonzero__(self):
00206         return True
def Archetypes.tests.utils.FakeRequestSession.set (   self,

Definition at line 207 of file

00208     def set(self, key, value):
00209         self[key] = value
00211 InitializeClass(FakeRequestSession)
00212 FakeRequestSession()

Here is the caller graph for this function:

Member Data Documentation

tuple = ClassSecurityInfo() [static]

Definition at line 194 of file

The documentation for this class was generated from the following file: