[Zope3-checkins]
SVN: Zope3/branches/stephan_and_jim-response-refactor/src/zope/publisher/tests/httprequest.py
Updates test request to new request-construction api
Jim Fulton
jim at zope.com
Fri Sep 2 16:53:08 EDT 2005
Log message for revision 38256:
Updates test request to new request-construction api
Changed:
U Zope3/branches/stephan_and_jim-response-refactor/src/zope/publisher/tests/httprequest.py
-=-
Modified: Zope3/branches/stephan_and_jim-response-refactor/src/zope/publisher/tests/httprequest.py
===================================================================
--- Zope3/branches/stephan_and_jim-response-refactor/src/zope/publisher/tests/httprequest.py 2005-09-02 20:53:05 UTC (rev 38255)
+++ Zope3/branches/stephan_and_jim-response-refactor/src/zope/publisher/tests/httprequest.py 2005-09-02 20:53:07 UTC (rev 38256)
@@ -31,16 +31,13 @@
class TestRequest(HTTPRequest):
- def __init__(self, body_instream=None, outstream=None, environ=None, **kw):
+ def __init__(self, body_instream=None, environ=None, **kw):
if body_instream is None:
body_instream = StringIO('')
- if outstream is None:
- outstream = StringIO()
-
env = {}
env.update(_testEnv)
if environ: env.update(environ)
env.update(kw)
- super(TestRequest, self).__init__(body_instream, outstream, env)
+ super(TestRequest, self).__init__(body_instream, env)
More information about the Zope3-Checkins
mailing list