[Zope3-checkins] CVS: Zope3/src/zope/app/browser/security/tests - test_permissionwidget.py:1.4.2.1

Sidnei da Silva sidnei@x3ng.com.br
Tue, 11 Feb 2003 09:42:07 -0500


Update of /cvs-repository/Zope3/src/zope/app/browser/security/tests
In directory cvs.zope.org:/tmp/cvs-serv18615/src/zope/app/browser/security/tests

Modified Files:
      Tag: paris-copypasterename-branch
	test_permissionwidget.py 
Log Message:
Updating from HEAD to make sure everything still works before merging

=== Zope3/src/zope/app/browser/security/tests/test_permissionwidget.py 1.4 => 1.4.2.1 ===
--- Zope3/src/zope/app/browser/security/tests/test_permissionwidget.py:1.4	Tue Jan 21 16:22:01 2003
+++ Zope3/src/zope/app/browser/security/tests/test_permissionwidget.py	Tue Feb 11 09:41:05 2003
@@ -29,13 +29,14 @@
 from zope.app.tests.placelesssetup import PlacelessSetup
 from zope.app.security.registries.permissionregistry import permissionRegistry
 from zope.component import getServiceManager
+from zope.component.servicenames import Permissions
 from zope.app.interfaces.security import IPermissionService
 
 class TestPermissionWidget(PlacelessSetup, TestCase):
 
     def testPermissionWidget(self):
-        defineService("Permissions", IPermissionService)
-        serviceManager.provideService("Permissions", permissionRegistry)
+        defineService(Permissions, IPermissionService)
+        serviceManager.provideService(Permissions, permissionRegistry)
 
         permissionRegistry.definePermission('read', 'Read', 'Read something')
         read_permission = permissionRegistry.getPermission('read')