[Zope3-checkins] CVS: Zope3/src/zope/app/publisher/browser/tests - test_resource.py:1.4

Jim Fulton jim at zope.com
Fri Aug 8 15:07:32 EDT 2003


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

Modified Files:
	test_resource.py 
Log Message:
Merged setApplicationNames into setVirtualHostRoot


=== Zope3/src/zope/app/publisher/browser/tests/test_resource.py 1.3 => 1.4 ===
--- Zope3/src/zope/app/publisher/browser/tests/test_resource.py:1.3	Sun Jun  1 11:59:35 2003
+++ Zope3/src/zope/app/publisher/browser/tests/test_resource.py	Fri Aug  8 14:07:27 2003
@@ -40,7 +40,7 @@
     def testGlobalInVirtualHost(self):
         from zope.app.publisher.browser.resource import Resource
         req = TestRequest()
-        req.setApplicationNames(['x', 'y'])
+        req.setVirtualHostRoot(['x', 'y'])
         r = ContextWrapper(Resource(req), None, name="foo")
         self.assertEquals(r(), '/x/y/@@/foo')
 




More information about the Zope3-Checkins mailing list