def test_prepare(self): """ prepare() raises an HTTPError """ handler = ErrorHandler(self.app, self.request) handler.prepare()