[Zope3-checkins] CVS: Zope3/src/zope/app/traversing/ftests - test_vhosting.py:1.8

Jim Fulton jim at zope.com
Tue Sep 2 17:47:19 EDT 2003


Update of /cvs-repository/Zope3/src/zope/app/traversing/ftests
In directory cvs.zope.org:/tmp/cvs-serv17290/src/zope/app/traversing/ftests

Modified Files:
	test_vhosting.py 
Log Message:
Fixed a bug in looking up resources. In internal paths, always use
++resource++name to look up a request.  @@/name only works on sites.


=== Zope3/src/zope/app/traversing/ftests/test_vhosting.py 1.7 => 1.8 ===
--- Zope3/src/zope/app/traversing/ftests/test_vhosting.py:1.7	Fri Aug  8 14:07:40 2003
+++ Zope3/src/zope/app/traversing/ftests/test_vhosting.py	Tue Sep  2 16:47:18 2003
@@ -131,7 +131,7 @@
     def test_resources(self):
         provideResource('quux', IBrowserPresentation, Resource)
         self.addPage('/foo/bar/pt',
-                     u'<span tal:replace="context/@@/quux" />')
+                     u'<span tal:replace="context/++resource++quux" />')
         self.verify('/foo/bar/pt', '/@@/quux\n')
         self.verify('/foo/++vh++https:otherhost:443/fake/folders/++/bar/pt',
                     '/fake/folders/@@/quux\n')




More information about the Zope3-Checkins mailing list