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

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


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

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

=== Zope3/lib/python/Zope/App/Security/tests/testZSP.py 1.1.2.3 => 1.1.2.4 ===
         policy = self._makePolicy()
 
-        fooperm = definePermission('foo')
+        fooperm = definePermission('foo', 'foo title')
 
         foo = Protected(fooperm)
         bar = Unprotected()
@@ -56,7 +56,7 @@
     def testListRolesFor( self ):
         policy  = self._makePolicy()
 
-        fooperm = definePermission( 'foo' )
+        fooperm = definePermission( 'foo', 'foo title' )
 
         foo = Protected(fooperm)
         bar = Unprotected()