cubicweb/devtools/testlib.py
changeset 11801 7a7ce3da28fb
parent 11800 3cd5ac8d43ed
child 11811 f09efeead7f9
equal deleted inserted replaced
11800:3cd5ac8d43ed 11801:7a7ce3da28fb
   839         """
   839         """
   840         with self.admin_request_from_url(url) as req:
   840         with self.admin_request_from_url(url) as req:
   841             if data is not None:
   841             if data is not None:
   842                 req.form.update(data)
   842                 req.form.update(data)
   843             with real_error_handling(self.app):
   843             with real_error_handling(self.app):
   844                 result = self.app_handle_request(req, req.relative_path(False))
   844                 result = self.app_handle_request(req)
   845             return result, req
   845             return result, req
   846 
   846 
   847     @staticmethod
   847     @staticmethod
   848     def _parse_location(req, location):
   848     def _parse_location(req, location):
   849         try:
   849         try: