devtools/testlib.py
changeset 9030 c1d5e8ca15ea
parent 9029 5941cde49878
child 9031 6ff29f2879da
equal deleted inserted replaced
9029:5941cde49878 9030:c1d5e8ca15ea
   631 
   631 
   632     @property
   632     @property
   633     @cached
   633     @cached
   634     def app(self):
   634     def app(self):
   635         """return a cubicweb publisher"""
   635         """return a cubicweb publisher"""
   636         publisher = application.CubicWebPublisher(self.config, vreg=self.vreg)
   636         publisher = application.CubicWebPublisher(self.config)
   637         def raise_error_handler(*args, **kwargs):
   637         def raise_error_handler(*args, **kwargs):
   638             raise
   638             raise
   639         publisher.error_handler = raise_error_handler
   639         publisher.error_handler = raise_error_handler
   640         return publisher
   640         return publisher
   641 
   641