Re: zope.testbrowser's handleErrors and pyramid

2011-05-25 Thread Brian Sutherland
On Tue, May 24, 2011 at 08:41:38PM +0200, Wichert Akkerman wrote: > On 2011-5-24 18:48, Brian Sutherland wrote: > >Hi, > > > >I'm using zope.testbrowser to test a pyramid application I'm working on. > >I'd really like to get the Browser.handleErrors knob

Re: zope.testbrowser's handleErrors and pyramid

2011-05-24 Thread Brian Sutherland
On Tue, May 24, 2011 at 06:55:34PM +0200, Gael Pasgrimaud wrote: > Hi, > > On Tue, May 24, 2011 at 6:48 PM, Brian Sutherland > wrote: > > > > But I'm guessing not. Any advice before I start working up a patch? > > > > Use WebTest ? Just a thought. Mayb

zope.testbrowser's handleErrors and pyramid

2011-05-24 Thread Brian Sutherland
this Perhaps it's as simple as putting this in pyramid/router.py: if not environ.get('wsgi.handleErrors', True): raise But I'm guessing not. Any advice before I start working up a patch? -- Brian Sutherland -- You received this message because you are subscribed to th

Re: requests and transactions

2011-04-01 Thread Brian Sutherland
On Fri, Apr 01, 2011 at 07:33:44AM +0100, Chris Withers wrote: > On 01/04/2011 07:23, Brian Sutherland wrote: >> On Thu, Mar 31, 2011 at 04:49:38PM +0100, Chris Withers wrote: >>> - isDoomed support: I guess this could be added to the example; can >>> someone explain whe

Re: requests and transactions

2011-03-31 Thread Brian Sutherland
True the transaction cannot be committed. .commit() raises an exception. -- Brian Sutherland -- You received this message because you are subscribed to the Google Groups "pylons-devel" group. To post to this group, send email to pylons-devel@googlegroups.com. To unsubscribe from this group, se

Re: pyramid_beaker vs beaker wsgi middleware

2011-03-02 Thread Brian Sutherland
of the code, comes from r.who 1, > which has been in heavy use for years now. As an extra data point: we've also been using 2.0 in a project and it's been very solid. -- Brian Sutherland -- You received this message because you are subscribed to the Google Groups "pylons-devel&qu