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

Stephan Richter srichter at cosmos.phy.tufts.edu
Wed Sep 6 06:45:52 EDT 2006

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.

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

Stephan Richter
CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student)
Web2k - Web Software Design, Development and Training

More information about the Zope3-users mailing list