Commit cc6ac7ca authored by Stefan H. Holek's avatar Stefan H. Holek

Apply Philipp's fix to Testing.makerequest as well.

parent 4ebf1d6f
......@@ -36,4 +36,10 @@ def makerequest(app, stdout=stdout):
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))
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment