[Zope3-checkins] CVS: Zope3/src/zope/app/browser/skins/basic/tests - sampleinterfaces.py:1.3.28.1 test_standardmacros.py:1.6.12.1

Grégoire Weber zope@i-con.ch
Sun, 22 Jun 2003 10:24:19 -0400


Update of /cvs-repository/Zope3/src/zope/app/browser/skins/basic/tests
In directory cvs.zope.org:/tmp/cvs-serv24874/src/zope/app/browser/skins/basic/tests

Modified Files:
      Tag: cw-mail-branch
	sampleinterfaces.py test_standardmacros.py 
Log Message:
Synced up with HEAD

=== Zope3/src/zope/app/browser/skins/basic/tests/sampleinterfaces.py 1.3 => 1.3.28.1 ===
--- Zope3/src/zope/app/browser/skins/basic/tests/sampleinterfaces.py:1.3	Sat Dec 28 09:13:22 2002
+++ Zope3/src/zope/app/browser/skins/basic/tests/sampleinterfaces.py	Sun Jun 22 10:22:49 2003
@@ -16,13 +16,13 @@
 $Id$
 """
 
-from zope.interface import Interface
+from zope.interface import Interface, implements
 
 from zope.app.interfaces.traversing import ITraverser
 
 class FakeTraverser:
 
-    __implements__ = ITraverser
+    implements(ITraverser)
 
     def __init__(self, *args, **kw): pass
 
@@ -34,7 +34,7 @@
 class I2(I1): pass
 
 class O1:
-    __implements__ = I1
+    implements(I1)
 
 class O2:
-    __implements__ = I2
+    implements(I2)


=== Zope3/src/zope/app/browser/skins/basic/tests/test_standardmacros.py 1.6 => 1.6.12.1 ===
--- Zope3/src/zope/app/browser/skins/basic/tests/test_standardmacros.py:1.6	Wed Apr 30 19:37:58 2003
+++ Zope3/src/zope/app/browser/skins/basic/tests/test_standardmacros.py	Sun Jun 22 10:22:49 2003
@@ -17,6 +17,7 @@
 """
 
 import unittest
+from zope.interface import implements
 from zope.app.services.tests.placefulsetup\
            import PlacefulSetup
 from zope.component import getService
@@ -28,7 +29,7 @@
 
 
 class ViewWithMacros:
-    __implements__ = IBrowserView
+    implements(IBrowserView)
 
     def __init__(self, context, request):
         self.context = context
@@ -45,7 +46,7 @@
 class I(Interface): pass
 
 class C:
-    __implements__ = I
+    implements(I)
 
 class Request:
     def getPresentationType(self):