[Zope-Checkins] CVS: Zope3/lib/python/Zope/App/Security/tests - testProtectClass.py:1.1.2.5 testPublicClass.py:1.1.2.6 testSecurityDirectives.py:1.1.2.8

Jim Fulton jim@zope.com
Thu, 3 Jan 2002 17:07:59 -0500


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

Modified Files:
      Tag: Zope-3x-branch
	testProtectClass.py testPublicClass.py 
	testSecurityDirectives.py 
Log Message:
Changed the configuration file dotted name rules to require a 
trailing dot to repeat the last name.


=== Zope3/lib/python/Zope/App/Security/tests/testProtectClass.py 1.1.2.4 => 1.1.2.5 ===
              name="protectClass"
              attributes="name, permission, interface, method, methods"
-             handler="Zope.App.Security.protectClass">
+             handler="Zope.App.Security.protectClass.">
     <subdirective  namespace="http://namespaces.zope.org/security"
                    name="protect"
                    attributes="permission, interface, method, methods" />


=== Zope3/lib/python/Zope/App/Security/tests/testPublicClass.py 1.1.2.5 => 1.1.2.6 ===
         attributes="name, interface, method, methods"
         namespace="http://namespaces.zope.org/security"
-        handler="Zope.App.Security.publicClass.publicClass" />
+        handler="Zope.App.Security.publicClass." />
         </zopeConfigure>
         """))
         class C:


=== Zope3/lib/python/Zope/App/Security/tests/testSecurityDirectives.py 1.1.2.7 => 1.1.2.8 ===
              name="protectClass"
              attributes="name, permission, interface, method, methods"
-             handler="Zope.App.Security.protectClass">
+             handler="Zope.App.Security.protectClass.">
     <subdirective  namespace="http://namespaces.zope.org/security"
                    name="protect"
                    attributes="permission, interface, method, methods" />
@@ -59,7 +59,7 @@
   <directive namespace="http://namespaces.zope.org/security"
              name="publicClass"
              attributes="name, interface, method, methods"
-             handler="Zope.App.Security.publicClass" />
+             handler="Zope.App.Security.publicClass." />
   <directive namespace="http://namespaces.zope.org/security"
              name="defaultPolicy"
              attributes="name"