Hi, I slowly discover Pyramid... I'm trying to write testing code in a Pyramid package using custom request properties. For example :
>>> from pyramid.testing import setUp, tearDown, DummyRequest >>> config = setUp() >>> config.add_request_method(get_annotations, 'annotations', reify=True) >>> request = DummyRequest() >>> request.annotations AttributeError: 'Request' object has no attribute 'annotations' I also tried using Request.blank() to create a new request, with the same result. Any help? Thanks, Thierry -- http://www.imagesdusport.com -- http://www.ztfy.org -- You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to pylons-discuss+unsubscr...@googlegroups.com. To post to this group, send email to pylons-discuss@googlegroups.com. Visit this group at http://groups.google.com/group/pylons-discuss. For more options, visit https://groups.google.com/d/optout.