devtools/testlib.py
changeset 9031 6ff29f2879da
parent 9030 c1d5e8ca15ea
child 9039 488255d1cf3b
equal deleted inserted replaced
9030:c1d5e8ca15ea 9031:6ff29f2879da
   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)
   636         publisher = application.CubicWebPublisher(self.repo, 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