[Zope-Checkins] CVS: Zope3/lib/python/Zope/App/Security/tests - testSecurityDirectives.py:1.1.2.3

Jim Fulton jim@zope.com
Thu, 13 Dec 2001 17:41:44 -0500


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

Modified Files:
      Tag: Zope-3x-branch
	testSecurityDirectives.py 
Log Message:
changed definePermission signature to match tutorial and require a title

=== Zope3/lib/python/Zope/App/Security/tests/testSecurityDirectives.py 1.1.2.2 => 1.1.2.3 ===
         f = configfile("""
  <security:definePermission
-     name="Can Do It"
+     permission="Can Do It"
      title="A Permissive Permission"
      description="This permission lets you do anything" />""")
 
@@ -95,12 +95,12 @@
     def testDuplicationRegistration(self):
         f = configfile("""
  <security:definePermission
-     name="Can Do It"
+     permission="Can Do It"
      title="A Permissive Permission"
      description="This permission lets you do anything" />
 
  <security:definePermission
-     name="Can Do It"
+     permission="Can Do It"
      title="A Permissive Permission"
      description="This permission lets you do anything" />
      """)