Back to index

plone3  3.1.7
Public Member Functions | Public Attributes | Private Member Functions | Private Attributes
borg.localrole.tests.DummyUser Class Reference

List of all members.

Public Member Functions

def __init__
def getId
def getGroups
def getRoles

Public Attributes

 id

Private Member Functions

def _check_context

Private Attributes

 _groups

Detailed Description

Definition at line 41 of file tests.py.


Constructor & Destructor Documentation

def borg.localrole.tests.DummyUser.__init__ (   self,
  uid,
  group_ids = () 
)

Definition at line 42 of file tests.py.

00042 
00043     def __init__(self, uid, group_ids=()):
00044         self.id = uid
00045         self._groups = group_ids

Here is the caller graph for this function:


Member Function Documentation

def borg.localrole.tests.DummyUser._check_context (   self,
  obj 
) [private]

Definition at line 49 of file tests.py.

00049 
00050     def _check_context(self, obj):
00051         return True

Here is the caller graph for this function:

Definition at line 52 of file tests.py.

00052 
00053     def getGroups(self):
00054         return self._groups

Here is the caller graph for this function:

Definition at line 46 of file tests.py.

00046 
00047     def getId(self):
00048         return self.id

Definition at line 55 of file tests.py.

00055 
00056     def getRoles(self):
00057         return ()
00058 
@onsetup

Here is the caller graph for this function:


Member Data Documentation

Definition at line 44 of file tests.py.

Definition at line 43 of file tests.py.


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