[Zope3-checkins] CVS: Zope3/src/zope/app/browser/skins/rotterdam/tests - test_xmlnavigationviews.py:1.3
Steve Alexander
steve@cat-box.net
Thu, 2 Jan 2003 09:07:29 -0500
Update of /cvs-repository/Zope3/src/zope/app/browser/skins/rotterdam/tests
In directory cvs.zope.org:/tmp/cvs-serv20161/src/zope/app/browser/skins/rotterdam/tests
Modified Files:
test_xmlnavigationviews.py
Log Message:
all lines now under 80 chars long
=== Zope3/src/zope/app/browser/skins/rotterdam/tests/test_xmlnavigationviews.py 1.2 => 1.3 ===
--- Zope3/src/zope/app/browser/skins/rotterdam/tests/test_xmlnavigationviews.py:1.2 Thu Jan 2 07:04:36 2003
+++ Zope3/src/zope/app/browser/skins/rotterdam/tests/test_xmlnavigationviews.py Thu Jan 2 09:07:27 2003
@@ -25,7 +25,8 @@
from zope.app.services.tests.eventsetup import EventSetup
from zope.pagetemplate.tests.util import check_xml
from zope.app.browser.skins.rotterdam.tests import util
-from zope.app.browser.skins.rotterdam.xmlobject import ReadContainerXmlObjectView
+from zope.app.browser.skins.rotterdam.xmlobject \
+ import ReadContainerXmlObjectView
from zope.app.browser.skins.rotterdam.xmlobject import XmlObjectView
from zope.publisher.browser import TestRequest
@@ -35,19 +36,20 @@
EventSetup.setUp(self)
def testXMLTreeViews(self):
- treeView = ReadContainerXmlObjectView(self.folder1, TestRequest()).singleBranchTree
+ rcxov = ReadContainerXmlObjectView
+ treeView = rcxov(self.folder1, TestRequest()).singleBranchTree
check_xml(treeView(), util.read_output('test1.xml'))
- treeView = ReadContainerXmlObjectView(self.folder1, TestRequest()).children
+ treeView = rcxov(self.folder1, TestRequest()).children
check_xml(treeView(), util.read_output('test2.xml'))
- treeView = ReadContainerXmlObjectView(self.folder1_1_1, TestRequest()).children
+ treeView = rcxov(self.folder1_1_1, TestRequest()).children
check_xml(treeView(), util.read_output('test3.xml'))
- treeView = ReadContainerXmlObjectView(self.rootFolder, TestRequest()).children
+ treeView = rcxov(self.rootFolder, TestRequest()).children
check_xml(treeView(), util.read_output('test4.xml'))
- treeView = ReadContainerXmlObjectView(self.folder1_1_1, TestRequest()).singleBranchTree
+ treeView = rcxov(self.folder1_1_1, TestRequest()).singleBranchTree
check_xml(treeView(), util.read_output('test5.xml'))
from zope.app.content.file import File