[Zope3-checkins] CVS: Zope3/src/zope/app/security/grants/tests - test_annotationprincipalpermissionmanager.py:1.7 test_annotationprincipalrolemanager.py:1.7 test_annotationrolepermissionmanager.py:1.8

Steve Alexander steve@cat-box.net
Sat, 7 Jun 2003 01:46:35 -0400


Update of /cvs-repository/Zope3/src/zope/app/security/grants/tests
In directory cvs.zope.org:/tmp/cvs-serv29577/src/zope/app/security/grants/tests

Modified Files:
	test_annotationprincipalpermissionmanager.py 
	test_annotationprincipalrolemanager.py 
	test_annotationrolepermissionmanager.py 
Log Message:
more new-style implements declarations


=== Zope3/src/zope/app/security/grants/tests/test_annotationprincipalpermissionmanager.py 1.6 => 1.7 ===
--- Zope3/src/zope/app/security/grants/tests/test_annotationprincipalpermissionmanager.py:1.6	Thu May  1 15:35:32 2003
+++ Zope3/src/zope/app/security/grants/tests/test_annotationprincipalpermissionmanager.py	Sat Jun  7 01:46:04 2003
@@ -28,9 +28,10 @@
     import AnnotationPrincipalPermissionManager
 from zope.app.security.settings import Allow, Deny, Unset
 from zope.app.tests.placelesssetup import PlacelessSetup
+from zope.interface import implements
 
 class Manageable:
-    __implements__ = IAttributeAnnotatable
+    implements(IAttributeAnnotatable)
 
 class Test(PlacelessSetup, unittest.TestCase):
 


=== Zope3/src/zope/app/security/grants/tests/test_annotationprincipalrolemanager.py 1.6 => 1.7 ===
--- Zope3/src/zope/app/security/grants/tests/test_annotationprincipalrolemanager.py:1.6	Thu May  1 15:35:32 2003
+++ Zope3/src/zope/app/security/grants/tests/test_annotationprincipalrolemanager.py	Sat Jun  7 01:46:04 2003
@@ -26,11 +26,11 @@
 from zope.app.security.grants.principalrole \
         import AnnotationPrincipalRoleManager
 from zope.app.security.settings import Allow, Deny
-from zope.app.services.tests.placefulsetup \
-     import PlacefulSetup
+from zope.app.services.tests.placefulsetup import PlacefulSetup
+from zope.interface import implements
 
 class Manageable:
-    __implements__ = IAttributeAnnotatable
+    implements(IAttributeAnnotatable)
 
 class Test(PlacefulSetup, unittest.TestCase):
 


=== Zope3/src/zope/app/security/grants/tests/test_annotationrolepermissionmanager.py 1.7 => 1.8 ===
--- Zope3/src/zope/app/security/grants/tests/test_annotationrolepermissionmanager.py:1.7	Thu May  1 15:35:32 2003
+++ Zope3/src/zope/app/security/grants/tests/test_annotationrolepermissionmanager.py	Sat Jun  7 01:46:04 2003
@@ -24,11 +24,12 @@
 from zope.app.security.registries.permissionregistry import permissionRegistry
 from zope.app.security.settings import Allow, Deny
 from zope.app.services.tests.placefulsetup import PlacefulSetup
+from zope.interface import implements
 
 import unittest
 
 class Manageable:
-    __implements__ = IAttributeAnnotatable
+    implements(IAttributeAnnotatable)
 
 class Test(PlacefulSetup, unittest.TestCase):