[Zope3-checkins] CVS: Zope3/src/zope/app/browser/skins/basic/tests - sampleinterfaces.py:1.4 test_standardmacros.py:1.7
Philipp von Weitershausen
philikon@philikon.de
Fri, 6 Jun 2003 17:35:49 -0400
Update of /cvs-repository/Zope3/src/zope/app/browser/skins/basic/tests
In directory cvs.zope.org:/tmp/cvs-serv27561/skins/basic/tests
Modified Files:
sampleinterfaces.py test_standardmacros.py
Log Message:
New interface declaration.
=== Zope3/src/zope/app/browser/skins/basic/tests/sampleinterfaces.py 1.3 => 1.4 ===
--- 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 Fri Jun 6 17:35:18 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.7 ===
--- 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 Fri Jun 6 17:35:18 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):