Back to index

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

List of all members.

Public Member Functions

def __init__
def get
def has_key
def __getitem__
def __setitem__
def has_key

Public Attributes

 steps

Properties

 form = property(lambda self: self)

Private Member Functions

def _authUserPW
def _hold

Private Attributes

 _dict
 _held

Detailed Description

Definition at line 210 of file test_PluggableAuthService.py.


Constructor & Destructor Documentation

Definition at line 214 of file test_PluggableAuthService.py.

00214 
00215     def __init__( self, steps=(), **kw ):
00216 
00217         self.steps = steps
00218         self._dict = {}
00219         self._dict.update( kw )
00220         self._held = []


Member Function Documentation

Definition at line 232 of file test_PluggableAuthService.py.

00232 
00233     def __getitem__( self, key ):
00234 
00235         return self._dict[ key ]

Here is the caller graph for this function:

Definition at line 236 of file test_PluggableAuthService.py.

00236 
00237     def __setitem__( self, key, value ):
00238 
00239         self._dict[ key ] = value

Definition at line 228 of file test_PluggableAuthService.py.

00228 
00229     def _authUserPW( self ):
00230         form = self.get( 'form' )
00231         return ( form.get( 'login' ), form.get( 'password' ) )

Definition at line 244 of file test_PluggableAuthService.py.

00244 
00245     def _hold(self, something):
00246         self._held.append(something)

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

Definition at line 221 of file test_PluggableAuthService.py.

00221 
00222     def get( self, key, default=None ):
00223 
00224         return self._dict.get( key, default )

Here is the caller graph for this function:

Definition at line 225 of file test_PluggableAuthService.py.

00225 
00226     def has_key( self, key ):
00227         return key in self._dict

Here is the caller graph for this function:

Definition at line 240 of file test_PluggableAuthService.py.

00240 
00241     def has_key( self, key ):
00242 
00243         return self._dict.has_key(key)

Here is the call graph for this function:

Here is the caller graph for this function:


Member Data Documentation

Definition at line 217 of file test_PluggableAuthService.py.

Definition at line 219 of file test_PluggableAuthService.py.

Definition at line 216 of file test_PluggableAuthService.py.


Property Documentation

Definition at line 212 of file test_PluggableAuthService.py.


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