[Zope3-checkins] CVS: Zope3/src/zope/app/menu/browser - tests.py:1.3

Jim Fulton jim at zope.com
Mon Mar 15 15:42:39 EST 2004


Update of /cvs-repository/Zope3/src/zope/app/menu/browser
In directory cvs.zope.org:/tmp/cvs-serv3290/src/zope/app/menu/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/menu/browser/tests.py 1.2 => 1.3 ===
--- Zope3/src/zope/app/menu/browser/tests.py:1.2	Sat Mar 13 10:21:23 2004
+++ Zope3/src/zope/app/menu/browser/tests.py	Mon Mar 15 15:42:06 2004
@@ -15,6 +15,7 @@
 
 $Id$
 """
+
 import unittest
 
 from zope.app.tests import ztapi
@@ -79,8 +80,8 @@
 
         defineService('BrowserMenu', IBrowserMenuService)
         provideService('BrowserMenu', Service())
-        ztapi.browserView(I, 'a3', [V])
-        ztapi.browserView(None, '_traverse', [TestTraverser])
+        ztapi.browserView(I, 'a3', V)
+        ztapi.browserView(None, '_traverse', TestTraverser)
         defineChecker(C, NamesChecker(['a1', 'a2', 'a3', '__call__'],
                                       CheckerPublic,
                                       abad='waaa'))




More information about the Zope3-Checkins mailing list