[Zope-Checkins] CVS: Zope3/lib/python/Zope/App/Security/tests - testPrincipalRoleManager.py:1.1.2.6
Andreas Jung
andreas@digicool.com
Fri, 8 Feb 2002 14:31:41 -0500
Update of /cvs-repository/Zope3/lib/python/Zope/App/Security/tests
In directory cvs.zope.org:/tmp/cvs-serv21019/tests
Modified Files:
Tag: Zope-3x-branch
testPrincipalRoleManager.py
Log Message:
fixed typo
=== Zope3/lib/python/Zope/App/Security/tests/testPrincipalRoleManager.py 1.1.2.5 => 1.1.2.6 ===
principal = self._make_principal()
principalRoleManager.removeRoleFromPrincipal(role, principal)
- principalRoleManager.usetRoleFromPrincipal(role, principal)
+ principalRoleManager.unsetRoleForPrincipal(role, principal)
self.assertEqual(principalRoleManager.getPrincipalsForRole(role),
[])
self.assertEqual(principalRoleManager.getRolesForPrincipal(principal),