[Zope3-checkins] CVS: Zope3/src/zope/app/tree/browser - tests.py:1.2
Jim Fulton
jim at zope.com
Mon Mar 15 15:42:42 EST 2004
Update of /cvs-repository/Zope3/src/zope/app/tree/browser
In directory cvs.zope.org:/tmp/cvs-serv3290/src/zope/app/tree/browser
Modified Files:
tests.py
Log Message:
Adapters and views are now registered with a single factory, not a
sequence of factories.
=== Zope3/src/zope/app/tree/browser/tests.py 1.1 => 1.2 ===
--- Zope3/src/zope/app/tree/browser/tests.py:1.1 Thu Feb 19 15:43:05 2004
+++ Zope3/src/zope/app/tree/browser/tests.py Mon Mar 15 15:42:11 2004
@@ -31,7 +31,7 @@
super(StatefulTreeViewTest, self).setUp()
self.makeItems()
# provide the view for all objects (None)
- ztapi.browserView(None, 'stateful_tree', [StatefulTreeView])
+ ztapi.browserView(None, 'stateful_tree', StatefulTreeView)
def makeRequest(self):
request = self.request = TestRequest()
@@ -42,7 +42,7 @@
def setUp(self):
super(CookieTreeViewTest, self).setUp()
- ztapi.browserView(None, 'cookie_tree', [CookieTreeView])
+ ztapi.browserView(None, 'cookie_tree', CookieTreeView)
def makeRequestWithVar(self):
varname = CookieTreeView.request_variable
More information about the Zope3-Checkins
mailing list