[Zope3-checkins] CVS: Zope3/lib/python/Zope/App/Security/tests - testZSP.py:1.7

Steve Alexander steve@cat-box.net
Sat, 21 Dec 2002 14:53:13 -0500


Update of /cvs-repository/Zope3/lib/python/Zope/App/Security/tests
In directory cvs.zope.org:/tmp/cvs-serv8869/lib/python/Zope/App/Security/tests

Modified Files:
	testZSP.py 
Log Message:
removed extraneous imports.


=== Zope3/lib/python/Zope/App/Security/tests/testZSP.py 1.6 => 1.7 ===
--- Zope3/lib/python/Zope/App/Security/tests/testZSP.py:1.6	Fri Nov  8 13:35:06 2002
+++ Zope3/lib/python/Zope/App/Security/tests/testZSP.py	Sat Dec 21 14:53:13 2002
@@ -17,10 +17,8 @@
 Revision information: $Id$
 """
 
-
 import unittest
 
-from Interface import Interface
 from Zope.Proxy.ContextWrapper import ContextWrapper
 from Zope.ComponentArchitecture import getService
 from Zope.App.Security.IRolePermissionManager import IRolePermissionManager
@@ -35,18 +33,13 @@
      import principalRoleManager 
 from Zope.App.Security.Grants.AnnotationPrincipalPermissionManager \
     import AnnotationPrincipalPermissionManager 
-from Zope.App.Security.Grants.Global.PrincipalPermissionManager \
-    import PrincipalPermissionManager 
 from Zope.App.Security.IPrincipalPermissionManager \
     import IPrincipalPermissionManager 
 from Zope.App.Security.Grants.AnnotationPrincipalRoleManager \
     import AnnotationPrincipalRoleManager 
-from Zope.App.Security.Grants.Global.PrincipalRoleManager \
-    import PrincipalRoleManager 
 from Zope.App.Security.Grants.AnnotationRolePermissionManager \
     import AnnotationRolePermissionManager 
 from Zope.App.Security.IPrincipalRoleManager import IPrincipalRoleManager 
-from Zope.Exceptions import Unauthorized, Forbidden
 from Zope.App.OFS.Annotation.IAttributeAnnotatable import IAttributeAnnotatable
 from Zope.App.OFS.Annotation.IAnnotations import IAnnotations
 from Zope.App.OFS.Annotation.AttributeAnnotations import AttributeAnnotations
@@ -62,14 +55,13 @@
     pass
 
 
-
 class Test(PlacefulSetup, unittest.TestCase):
 
     def setUp(self):
         PlacefulSetup.setUp(self)
         getService(None,"Adapters").provideAdapter(
                        IAttributeAnnotatable, IAnnotations,
-                       AttributeAnnotations)    
+                       AttributeAnnotations)
 
         # set up some principals
         jim = principalRegistry.definePrincipal('jim', 'Jim', 'Jim Fulton',