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

Philipp von Weitershausen philikon at philikon.de
Fri Feb 20 04:19:40 EST 2004


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

Modified Files:
	test_xmlnavigationviews.py 
Log Message:
* take out weird windows comment.
* cleanup imports
* use super for calling base class's methods


=== Zope3/src/zope/app/browser/skins/rotterdam/tests/test_xmlnavigationviews.py 1.9 => 1.10 ===
--- Zope3/src/zope/app/browser/skins/rotterdam/tests/test_xmlnavigationviews.py:1.9	Fri Nov 21 12:11:59 2003
+++ Zope3/src/zope/app/browser/skins/rotterdam/tests/test_xmlnavigationviews.py	Fri Feb 20 04:19:39 2004
@@ -12,33 +12,30 @@
 #
 ##############################################################################
 """
-
-Revision information:
 $Id$
 """
 
-#import sys
-#sys.path.insert(0, r"c:\Zope3\src")
+from unittest import TestCase, TestLoader, TextTestRunner
+
+from zope.interface import implements
+from zope.pagetemplate.tests.util import check_xml
+from zope.publisher.browser import TestRequest
+from zope.publisher.interfaces.browser import IBrowserPublisher
 
 from zope.app.tests import ztapi
 from zope.app.content.file import File
 from zope.app.traversing import traverse
-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
-from zope.publisher.interfaces.browser import IBrowserPublisher
 from zope.app.browser.skins.rotterdam.tests import util
 from zope.app.browser.skins.rotterdam.xmlobject \
      import ReadContainerXmlObjectView
 from zope.app.interfaces.container import IReadContainer
 from zope.app.browser.skins.rotterdam.xmlobject import XmlObjectView
-from zope.publisher.browser import TestRequest
 
 class TestXmlObject(EventSetup, TestCase):
     
     def setUp(self):
-        EventSetup.setUp(self)
+        super(TestXmlObject, self).setUp()
 
     def testXMLTreeViews(self):
         rcxov = ReadContainerXmlObjectView




More information about the Zope3-Checkins mailing list