[Zope3-Users] Re: pau, testbrowser, HTTP Error 403: Forbidden

Darryl Cousins darryl at darrylcousins.net.nz
Wed Sep 6 08:45:10 EDT 2006

On Wed, 2006-09-06 at 06:45 -0400, Stephan Richter wrote:
> On Sunday 27 August 2006 08:14, Darryl Cousins wrote:
> > Doesn't pass. I can't figure how to use the test to test for what I
> > expect - which is of course an exception.
> Two choices that I commonly use for debugging:
> 1. print browser.contents; this will fail right away, but shows you the HTML 
> that you can then anlyze and see what happened.

Yup, excepting that here it just displays HTML of the unauthorised view.

> 2. Use browser.handleErrors = False and see what's coming through.

This I found at the time and helped me out.


> Regards,
> Stephan

More information about the Zope3-users mailing list