[Zope3-checkins] CVS: Zope3/src/zope/app/traversing/browser/tests - test_absoluteurl.py:1.2

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


Update of /cvs-repository/Zope3/src/zope/app/traversing/browser/tests
In directory cvs.zope.org:/tmp/cvs-serv3290/src/zope/app/traversing/browser/tests

Modified Files:
	test_absoluteurl.py 
Log Message:
Adapters and views are now registered with a single factory, not a
sequence of factories.


=== Zope3/src/zope/app/traversing/browser/tests/test_absoluteurl.py 1.1 => 1.2 ===
--- Zope3/src/zope/app/traversing/browser/tests/test_absoluteurl.py:1.1	Sat Mar 13 22:44:09 2004
+++ Zope3/src/zope/app/traversing/browser/tests/test_absoluteurl.py	Mon Mar 15 15:42:10 2004
@@ -15,6 +15,7 @@
 
 $Id$
 """
+
 from unittest import TestCase, main, makeSuite
 
 from zope.app.tests import ztapi
@@ -43,8 +44,8 @@
     def setUp(self):
         super(TestAbsoluteURL, self).setUp()
         from zope.app.traversing.browser import AbsoluteURL, SiteAbsoluteURL
-        ztapi.browserView(None, 'absolute_url', [AbsoluteURL])
-        ztapi.browserView(IRoot, 'absolute_url', [SiteAbsoluteURL])
+        ztapi.browserView(None, 'absolute_url', AbsoluteURL)
+        ztapi.browserView(IRoot, 'absolute_url', SiteAbsoluteURL)
         ztapi.provideAdapter(IHTTPRequest, IUserPreferredCharsets,
                              HTTPCharsets)
 




More information about the Zope3-Checkins mailing list