[Zope3-checkins] SVN: Zope3/branches/jim-adapter/src/zope/app/securitypolicy/browser/ftests.py Fixed a test that relied on broken (or really missing) registration

Jim Fulton jim at zope.com
Tue Apr 18 19:56:45 EDT 2006


Log message for revision 67114:
  Fixed a test that relied on broken (or really missing) registration
  behavior.
  

Changed:
  U   Zope3/branches/jim-adapter/src/zope/app/securitypolicy/browser/ftests.py

-=-
Modified: Zope3/branches/jim-adapter/src/zope/app/securitypolicy/browser/ftests.py
===================================================================
--- Zope3/branches/jim-adapter/src/zope/app/securitypolicy/browser/ftests.py	2006-04-18 23:56:43 UTC (rev 67113)
+++ Zope3/branches/jim-adapter/src/zope/app/securitypolicy/browser/ftests.py	2006-04-18 23:56:44 UTC (rev 67114)
@@ -109,7 +109,7 @@
 
     def testRolesWithPermissionsFormForLocalPermission(self):
         permission = Permission(u"id", u"Local Permission")
-        zope.component.provideUtility(permission, IPermission)
+        zope.component.provideUtility(permission, IPermission, 'id')
 
         response = self.publish(
             '/++etc++site/@@AllRolePermissions.html',



More information about the Zope3-Checkins mailing list