[Zope3-checkins] CVS: Zope3/src/zope/app/browser/exception/tests - test_unauthorized.py:1.6

Steve Alexander steve@cat-box.net
Fri, 6 Jun 2003 16:44:57 -0400


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

Modified Files:
	test_unauthorized.py 
Log Message:
yet another batch of updated interface declarations



=== Zope3/src/zope/app/browser/exception/tests/test_unauthorized.py 1.5 => 1.6 ===
--- Zope3/src/zope/app/browser/exception/tests/test_unauthorized.py:1.5	Sun Jun  1 11:59:27 2003
+++ Zope3/src/zope/app/browser/exception/tests/test_unauthorized.py	Fri Jun  6 16:44:27 2003
@@ -21,9 +21,10 @@
 from zope.publisher.browser import TestRequest
 from zope.app.context import ContextWrapper
 from zope.app.interfaces.security import IAuthenticationService, IPrincipal
+from zope.interface import implements
 
 class DummyPrincipal:
-    __implements__ = IPrincipal  # this is a lie
+    implements(IPrincipal)  # this is a lie
 
     def __init__(self, id):
         self.id = id
@@ -32,7 +33,7 @@
         return self.id
 
 class DummyAuthService:
-    __implements__ = IAuthenticationService  # this is a lie
+    implements(IAuthenticationService)  # this is a lie
 
     def unauthorized(self, principal_id, request):
         self.principal_id = principal_id