[Zope3-checkins] CVS: Zope3/src/zope/app/pagetemplate/tests - test_directives.py:1.3 test_viewzpt.py:1.7

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


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

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



=== Zope3/src/zope/app/pagetemplate/tests/test_directives.py 1.2 => 1.3 ===
--- Zope3/src/zope/app/pagetemplate/tests/test_directives.py:1.2	Thu May  1 15:35:26 2003
+++ Zope3/src/zope/app/pagetemplate/tests/test_directives.py	Fri Jun  6 16:44:31 2003
@@ -23,7 +23,7 @@
 
 from zope.app.tests.placelesssetup import PlacelessSetup
 
-from zope.interface import Interface
+from zope.interface import Interface, implements
 from zope.component.adapter import provideAdapter
 from zope.app.interfaces.traversing import ITraversable
 
@@ -42,7 +42,7 @@
     pass
 
 class Adapter:
-    __implements__ = (I, ITraversable)
+    implements(I, ITraversable)
 
     def __init__(self, context):
         pass


=== Zope3/src/zope/app/pagetemplate/tests/test_viewzpt.py 1.6 => 1.7 ===
--- Zope3/src/zope/app/pagetemplate/tests/test_viewzpt.py:1.6	Thu May  1 15:35:26 2003
+++ Zope3/src/zope/app/pagetemplate/tests/test_viewzpt.py	Fri Jun  6 16:44:31 2003
@@ -15,7 +15,7 @@
 
 from zope.component import getService
 from zope.app.services.servicenames import Views
-from zope.interface import Interface
+from zope.interface import Interface, implements
 
 from zope.app.pagetemplate.viewpagetemplatefile import ViewPageTemplateFile
 from zope.app.services.tests.placefulsetup import PlacefulSetup
@@ -25,7 +25,7 @@
     pass
 
 class C1:
-    __implements__ = I1
+    implements(I1)
 
 class InstanceWithContext:
     def __init__(self, context):
@@ -73,7 +73,7 @@
              import IPresentationRequest
 
         class MyRequest:
-            __implements__ = IPresentationRequest
+            implements(IPresentationRequest)
             def getPresentationType(self):
                 return the_view_type
             def getPresentationSkin(self):