Back to index

plone3  3.1.7
Public Member Functions | Public Attributes | Private Member Functions | Private Attributes
PluggableAuthService.tests.test_Caching.FauxRequest Class Reference

List of all members.

Public Member Functions

def __init__
def get
def __getitem__
def __setitem__

Public Attributes

 steps

Private Member Functions

def _authUserPW

Private Attributes

 _dict

Detailed Description

Definition at line 22 of file test_Caching.py.


Constructor & Destructor Documentation

def PluggableAuthService.tests.test_Caching.FauxRequest.__init__ (   self,
  steps = (),
  kw 
)

Definition at line 24 of file test_Caching.py.

00024 
00025     def __init__( self, steps=(), **kw ):
00026 
00027         self.steps = steps
00028         self._dict = {}
00029         self._dict.update( kw )


Member Function Documentation

Definition at line 38 of file test_Caching.py.

00038 
00039     def __getitem__( self, key ):
00040 
00041         return self._dict[ key ]

Here is the caller graph for this function:

Definition at line 42 of file test_Caching.py.

00042 
00043     def __setitem__( self, key, value ):
00044 
00045         self._dict[ key ] = value

Definition at line 34 of file test_Caching.py.

00034 
00035     def _authUserPW( self ):
00036         form = self.get( 'form' )
00037         return ( form.get( 'login' ), form.get( 'password' ) )

def PluggableAuthService.tests.test_Caching.FauxRequest.get (   self,
  key,
  default = None 
)

Definition at line 30 of file test_Caching.py.

00030 
00031     def get( self, key, default=None ):
00032 
00033         return self._dict.get( key, default )

Here is the caller graph for this function:


Member Data Documentation

Definition at line 27 of file test_Caching.py.

Definition at line 26 of file test_Caching.py.


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