equal
deleted
inserted
replaced
446 |
446 |
447 @property |
447 @property |
448 @cached |
448 @cached |
449 def app(self): |
449 def app(self): |
450 """return a cubicweb publisher""" |
450 """return a cubicweb publisher""" |
451 return application.CubicWebPublisher(self.config, vreg=self.vreg) |
451 publisher = application.CubicWebPublisher(self.config, vreg=self.vreg) |
|
452 def raise_error_handler(*args, **kwargs): |
|
453 raise |
|
454 publisher.error_handler = raise_error_handler |
|
455 return publisher |
452 |
456 |
453 requestcls = fake.FakeRequest |
457 requestcls = fake.FakeRequest |
454 def request(self, *args, **kwargs): |
458 def request(self, *args, **kwargs): |
455 """return a web ui request""" |
459 """return a web ui request""" |
456 req = self.requestcls(self.vreg, form=kwargs) |
460 req = self.requestcls(self.vreg, form=kwargs) |