[Zope3-checkins] CVS: Zope3/src/zope/app/workflow/tests - workflowsetup.py:1.6.36.2

Steve Alexander steve at cat-box.net
Wed Jan 14 14:48:34 EST 2004


Update of /cvs-repository/Zope3/src/zope/app/workflow/tests
In directory cvs.zope.org:/tmp/cvs-serv6392/src/zope/app/workflow/tests

Modified Files:
      Tag: steveachrismcd-securitypolicy-branch
	workflowsetup.py 
Log Message:
Removed unused Roles stuff from workflow tests.


=== Zope3/src/zope/app/workflow/tests/workflowsetup.py 1.6.36.1 => 1.6.36.2 ===
--- Zope3/src/zope/app/workflow/tests/workflowsetup.py:1.6.36.1	Wed Jan 14 01:06:48 2004
+++ Zope3/src/zope/app/workflow/tests/workflowsetup.py	Wed Jan 14 14:48:33 2004
@@ -18,11 +18,10 @@
 """
 
 from zope.component import getService, getServiceManager
-from zope.app.services.servicenames import Roles, Permissions
+from zope.app.services.servicenames import Permissions
 from zope.app.services.servicenames import Authentication, Workflows
 
 from zope.app.interfaces.security import IAuthenticationService
-from zope.products.securitypolicy.interfaces import IRoleService
 from zope.app.interfaces.security import IPermissionService
 from zope.app.security.registries.principalregistry import principalRegistry
 from zope.app.security.registries.permissionregistry import permissionRegistry
@@ -64,11 +63,6 @@
         self.root_sm.defineService(Authentication, IAuthenticationService)
         self.root_sm.provideService(Authentication, principalRegistry)
         return getService(self.rootFolder, Authentication)
-
-    def setupRoleService(self):
-        self.root_sm.defineService(Roles, IRoleService)
-        self.root_sm.provideService(Roles, roleRegistry)
-        return getService(self.rootFolder, Roles)
 
     def setupPermissionService(self):
         self.root_sm.defineService(Permissions, IPermissionService)




More information about the Zope3-Checkins mailing list