Back to index

plone3  3.1.7
Public Member Functions | Static Public Attributes
ATContentTypes.tests.utils.FakeRequestSession Class Reference
Inheritance diagram for ATContentTypes.tests.utils.FakeRequestSession:
Inheritance graph
Collaboration diagram for ATContentTypes.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 30 of file

Constructor & Destructor Documentation

Definition at line 37 of file

00038     def __init__(self):
00039         UserDict.__init__(self)
00040         # add a dummy because request mustn't be empty for test
00041         # like 'if REQUEST:'
00042         self['__dummy__'] = None

Member Function Documentation

Definition at line 43 of file

00044     def __nonzero__(self):
00045         return True
def ATContentTypes.tests.utils.FakeRequestSession.set (   self,

Definition at line 46 of file

00047     def set(self, key, value):
00048         self[key] = value
00050 InitializeClass(FakeRequestSession)
00051 FakeRequestSession()

Here is the caller graph for this function:

Member Data Documentation

tuple = ClassSecurityInfo() [static]

Definition at line 33 of file

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