Back to index

plone3  3.1.7
Public Member Functions | Private Member Functions | Private Attributes
CMFCore.tests.test_MemberDataTool.DummyUserFolder Class Reference

List of all members.

Public Member Functions

def __init__
def userFolderEditUser
def getUsers

Private Member Functions

def _addUser

Private Attributes

 _users

Detailed Description

Definition at line 25 of file test_MemberDataTool.py.


Constructor & Destructor Documentation

Definition at line 27 of file test_MemberDataTool.py.

00027 
00028     def __init__(self):
00029         self._users = {}


Member Function Documentation

def CMFCore.tests.test_MemberDataTool.DummyUserFolder._addUser (   self,
  user 
) [private]

Definition at line 30 of file test_MemberDataTool.py.

00030 
00031     def _addUser(self, user):
00032         self._users[user.getUserName()] = user

Definition at line 41 of file test_MemberDataTool.py.

00041 
00042     def getUsers(self):
00043         return self._users.values()
00044 

def CMFCore.tests.test_MemberDataTool.DummyUserFolder.userFolderEditUser (   self,
  name,
  password,
  roles,
  domains 
)

Definition at line 33 of file test_MemberDataTool.py.

00033 
00034     def userFolderEditUser(self, name, password, roles, domains):
00035         user = self._users[name]
00036         if password is not None:
00037             user.__ = password
00038         # Emulate AccessControl.User's stupid behavior (should test None)
00039         user.roles = tuple(roles)
00040         user.domains = tuple(domains)


Member Data Documentation

Definition at line 28 of file test_MemberDataTool.py.


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