[Zope3-checkins] SVN: Zope3/trunk/src/zope/publisher/tests/test_http.py Fixed buglet in test. charset parameter was never used.

Bjorn Tillenius bjoti777 at student.liu.se
Thu May 27 15:11:23 EDT 2004


Log message for revision 25064:
Fixed buglet in test. charset parameter was never used.



-=-
Modified: Zope3/trunk/src/zope/publisher/tests/test_http.py
===================================================================
--- Zope3/trunk/src/zope/publisher/tests/test_http.py	2004-05-27 18:53:22 UTC (rev 25063)
+++ Zope3/trunk/src/zope/publisher/tests/test_http.py	2004-05-27 19:11:23 UTC (rev 25064)
@@ -424,7 +424,7 @@
     def _getResultFromResponse(self, body, charset=None, headers=None):
         response, stream = self._createResponse()
         if charset is not None:
-            response.setCharset()
+            response.setCharset(charset)
         if headers is not None:
             for hdr, val in headers.iteritems():
                 response.setHeader(hdr, val)




More information about the Zope3-Checkins mailing list