Log message for revision 66220:
  Apply Philipp's fix to Testing.makerequest as well.
  

Changed:
  U   Zope/branches/2.9/lib/python/Testing/makerequest.py

-=-
Modified: Zope/branches/2.9/lib/python/Testing/makerequest.py
===================================================================
--- Zope/branches/2.9/lib/python/Testing/makerequest.py 2006-03-27 01:29:34 UTC 
(rev 66219)
+++ Zope/branches/2.9/lib/python/Testing/makerequest.py 2006-03-27 01:37:01 UTC 
(rev 66220)
@@ -36,4 +36,10 @@
     environ['SERVER_PORT']='80'
     environ['REQUEST_METHOD'] = 'GET'
     req = HTTPRequest(stdin, environ, resp)
+
+    # set Zope3-style default skin so that the request is usable for
+    # Zope3-style view look-ups
+    from zope.app.publication.browser import setDefaultSkin
+    setDefaultSkin(req)
+
     return app.__of__(RequestContainer(REQUEST = req))

_______________________________________________
Zope-Checkins maillist  -  Zope-Checkins@zope.org
http://mail.zope.org/mailman/listinfo/zope-checkins

Reply via email to