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. Thanks, Darryl > > Regards, > Stephan _______________________________________________ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users