[Zope3-checkins] CVS: Zope3/src/zope/app/browser/skins/rotterdam/tests - test_xmlnavigationviews.py:1.7

Philipp von Weitershausen philikon@philikon.de
Fri, 6 Jun 2003 17:35:50 -0400


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

Modified Files:
	test_xmlnavigationviews.py 
Log Message:
New interface declaration.


=== Zope3/src/zope/app/browser/skins/rotterdam/tests/test_xmlnavigationviews.py 1.6 => 1.7 ===
--- Zope3/src/zope/app/browser/skins/rotterdam/tests/test_xmlnavigationviews.py:1.6	Thu Jan  2 10:34:08 2003
+++ Zope3/src/zope/app/browser/skins/rotterdam/tests/test_xmlnavigationviews.py	Fri Jun  6 17:35:19 2003
@@ -20,7 +20,7 @@
 #import sys
 #sys.path.insert(0, r"c:\Zope3\src")
 
-
+from zope.interface import implements
 from unittest import TestCase, TestLoader, TextTestRunner
 from zope.app.services.tests.eventsetup import EventSetup
 from zope.pagetemplate.tests.util import check_xml
@@ -60,8 +60,7 @@
         from zope.publisher.interfaces.browser import IBrowserPresentation
         from zope.publisher.interfaces.browser import IBrowserPublisher
         class ReadContainerView(ReadContainerXmlObjectView):
-            __implements__ = (IBrowserPublisher, 
-                              ReadContainerXmlObjectView.__implements__)
+            implements(IBrowserPublisher)
             def browserDefault(self, request):
                 return self, ()
             def publishTraverse(self, request, name):