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

Changed:
  U   Zope/trunk/lib/python/Testing/makerequest.py

-=-
Modified: Zope/trunk/lib/python/Testing/makerequest.py
===================================================================
--- Zope/trunk/lib/python/Testing/makerequest.py        2006-03-27 01:37:01 UTC 
(rev 66220)
+++ Zope/trunk/lib/python/Testing/makerequest.py        2006-03-27 01:37:22 UTC 
(rev 66221)
@@ -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