Can we put the one line testbrowser patch in, please?  Without it,
testbrowser never gets to see Cookie headers, which I consider quite a
PIA.  Currently, I'm including the patched version of Five's testbrowser
module in a test for the PasswordResetTool Product here:

The patch:

---      (revision 66810)
+++      (working copy)
@@ -35,6 +35,7 @@
         headers.insert(0, ('Status', "%s %s" % (status, reason)))
         headers = '\r\n'.join('%s: %s' % h for h in headers)
+        headers += '\r\n' + '\r\n'.join(real_response._cookie_list())
         content = real_response.body
         return testing.PublisherResponse(content, headers, status, reason)


Zope-Dev maillist  -
**  No cross posts or HTML encoding!  **
(Related lists - )

Reply via email to