[CMF-checkins] CVS: CMF/DCWorkflow/tests - test_roles.py:1.3
Zachery Bir
zbir at urbanape.com
Wed Mar 31 18:20:04 EST 2004
Update of /cvs-repository/CMF/DCWorkflow/tests
In directory cvs.zope.org:/tmp/cvs-serv31446
Modified Files:
test_roles.py
Log Message:
in the utility functions, there is no longer any id mangling, as such,
what goes in is what comes out.
=== CMF/DCWorkflow/tests/test_roles.py 1.2 => 1.3 ===
--- CMF/DCWorkflow/tests/test_roles.py:1.2 Thu Jan 15 15:52:07 2004
+++ CMF/DCWorkflow/tests/test_roles.py Wed Mar 31 18:19:53 2004
@@ -38,16 +38,16 @@
def testModifyRolesForGroup(self):
modifyRolesForGroup(
- self.ob, 'Administrators', ['Owner'], ['Member', 'Owner'])
+ self.ob, '(Group) Administrators', ['Owner'], ['Member', 'Owner'])
modifyRolesForGroup(
- self.ob, 'Users', [], ['Member'])
+ self.ob, '(Group) Users', [], ['Member'])
self.assertEqual(self.ob.__ac_local_roles__, {
'(Group) Administrators': ['Manager', 'Owner'],
})
modifyRolesForGroup(
- self.ob, 'Administrators', ['Member'], ['Member', 'Owner'])
+ self.ob, '(Group) Administrators', ['Member'], ['Member', 'Owner'])
modifyRolesForGroup(
- self.ob, 'Users', ['Member'], ['Member'])
+ self.ob, '(Group) Users', ['Member'], ['Member'])
self.assertEqual(self.ob.__ac_local_roles__, {
'(Group) Administrators': ['Manager', 'Member'],
'(Group) Users': ['Member'],
More information about the CMF-checkins
mailing list