[Zope-Checkins] SVN: Zope/trunk/src/AccessControl/ There's only one type of interfaces left, no need for a z3 prefix

Hanno Schlichting hannosch at hannosch.eu
Sat Jun 5 18:33:49 EDT 2010


Log message for revision 113175:
  There's only one type of interfaces left, no need for a z3 prefix
  

Changed:
  U   Zope/trunk/src/AccessControl/interfaces.py
  U   Zope/trunk/src/AccessControl/tests/testPermissionMapping.py
  U   Zope/trunk/src/AccessControl/tests/testRole.py

-=-
Modified: Zope/trunk/src/AccessControl/interfaces.py
===================================================================
--- Zope/trunk/src/AccessControl/interfaces.py	2010-06-05 22:32:10 UTC (rev 113174)
+++ Zope/trunk/src/AccessControl/interfaces.py	2010-06-05 22:33:49 UTC (rev 113175)
@@ -10,7 +10,7 @@
 # FOR A PARTICULAR PURPOSE.
 #
 ##############################################################################
-"""AccessControl z3 interfaces.
+"""AccessControl interfaces.
 
 $Id$
 """

Modified: Zope/trunk/src/AccessControl/tests/testPermissionMapping.py
===================================================================
--- Zope/trunk/src/AccessControl/tests/testPermissionMapping.py	2010-06-05 22:32:10 UTC (rev 113174)
+++ Zope/trunk/src/AccessControl/tests/testPermissionMapping.py	2010-06-05 22:33:49 UTC (rev 113175)
@@ -3,7 +3,7 @@
 
 class TestRoleManager(unittest.TestCase):
 
-    def test_z3interfaces(self):
+    def test_interfaces(self):
         from AccessControl.interfaces import IPermissionMappingSupport
         from AccessControl.PermissionMapping import RoleManager
         from zope.interface.verify import verifyClass
@@ -15,6 +15,3 @@
     return unittest.TestSuite((
         unittest.makeSuite(TestRoleManager),
         ))
-
-if __name__ == '__main__':
-    unittest.main(defaultTest='test_suite')

Modified: Zope/trunk/src/AccessControl/tests/testRole.py
===================================================================
--- Zope/trunk/src/AccessControl/tests/testRole.py	2010-06-05 22:32:10 UTC (rev 113174)
+++ Zope/trunk/src/AccessControl/tests/testRole.py	2010-06-05 22:33:49 UTC (rev 113175)
@@ -3,7 +3,7 @@
 
 class TestRoleManager(unittest.TestCase):
 
-    def test_z3interfaces(self):
+    def test_interfaces(self):
         from AccessControl.interfaces import IRoleManager
         from AccessControl.Role import RoleManager
         from zope.interface.verify import verifyClass
@@ -15,6 +15,3 @@
     return unittest.TestSuite((
         unittest.makeSuite(TestRoleManager),
         ))
-
-if __name__ == '__main__':
-    unittest.main(defaultTest='test_suite')



More information about the Zope-Checkins mailing list