def error(respose, msg):
     debug_response(
         response, self.one_browser_traceback, msg, display_tb=False
     )
     raise self.failureException, msg
Beispiel #2
0
 def raise_browser_traceback(self, response, msg):
     debug_response(response, self.browser_traceback, msg, display_tb=False)
     msg += " (url: %r)" % response.request.get("PATH_INFO", "???")
     raise self.failureException, msg
Beispiel #3
0
 def raise_browser_traceback(self, response, msg):
     debug_response(
         response, self.browser_traceback, msg, display_tb=False
     )
     msg += " (url: %r)" % response.request.get("PATH_INFO", "???")
     raise self.failureException, msg