[CMF-checkins] CVS: CMF/CMFCore/tests/base - dummy.py:1.9.6.1
Yvo Schubbe
schubbe at web.de
Tue Sep 9 10:08:36 EDT 2003
Update of /cvs-repository/CMF/CMFCore/tests/base
In directory cvs.zope.org:/tmp/cvs-serv15636/CMFCore/tests/base
Modified Files:
Tag: yuppie-deleteMembers-branch
dummy.py
Log Message:
added deleteMemberArea and deleteMembers methods
=== CMF/CMFCore/tests/base/dummy.py 1.9 => 1.9.6.1 ===
--- CMF/CMFCore/tests/base/dummy.py:1.9 Wed Jun 11 07:11:18 2003
+++ CMF/CMFCore/tests/base/dummy.py Tue Sep 9 09:08:05 2003
@@ -3,7 +3,7 @@
from Products.CMFCore.PortalContent import PortalContent
from Products.CMFCore.TypesTool import FactoryTypeInformation as FTI
from Products.CMFCore.ActionProviderBase import ActionProviderBase
-from security import OmnipotentUser
+from security import OmnipotentUser
class DummyObject(Implicit):
@@ -219,7 +219,7 @@
def __init__(self):
setattr( self, 'user_foo', DummyUser(id='user_foo') )
setattr( self, 'user_bar', DummyUser(id='user_bar') )
- setattr( self, 'all_powerful_Oz', OmnipotentUser() )
+ setattr( self, 'all_powerful_Oz', OmnipotentUser() )
def getUsers(self):
pass
@@ -229,6 +229,10 @@
def getUserById(self, id, default=None):
return self.getUser(id)
+
+ def userFolderDelUsers(self, names):
+ for user_id in names:
+ delattr(self, user_id)
class DummyTool(Implicit,ActionProviderBase):
More information about the CMF-checkins
mailing list