Changeset 1014
- Timestamp:
- 03/24/06 11:56:14
- Files:
-
- trunk/cherrypy/test/helper.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/cherrypy/test/helper.py
r970 r1014 105 105 106 106 try: 107 self.body = []107 newbody = [] 108 108 for chunk in response.body: 109 self.body.append(chunk)109 newbody.append(chunk) 110 110 request.close() 111 111 except Exception, ex: … … 122 122 # occurs after status and headers have been written to the client. 123 123 for chunk in b: 124 self.body.append(chunk)125 self.body = "".join( self.body)124 newbody.append(chunk) 125 self.body = "".join(newbody) 126 126 127 127 if webtest.ServerError.on:

