Ticket #4955: test_client_py.patch
File test_client_py.patch, 876 bytes (added by , 17 years ago) |
---|
-
test/client.py
46 46 finally: 47 47 dispatcher.send(signal=signals.request_finished) 48 48 49 return re sponse49 return request, response 50 50 51 51 def store_rendered_templates(store, signal, sender, template, context): 52 52 "A utility function for storing templates and contexts that are rendered" … … 165 165 # Capture exceptions created by the handler 166 166 dispatcher.connect(self.store_exc_info, signal=got_request_exception) 167 167 168 response = self.handler(environ)168 self.previous_request, response = self.handler(environ) 169 169 170 170 # Add any rendered template detail to the response 171 171 # If there was only one template rendered (the most likely case),