[Zope3-Users] Re: zope.testbrowser and ZMI?
Philipp von Weitershausen
philipp at weitershausen.de
Wed Feb 28 11:48:21 EST 2007
Basil Shubin wrote:
> Hi friends!
>
> Hmm... strange thing...
>
> With this code I got:
>
> >>> browser = Browser('http://localhost:8080/')
> >>> browser.addHeader('Authorization', 'Basic admin:admin')
> >>> browser.open('http://localhost:8080/manage')
> Traceback (most recent call last):
...
> urllib2.HTTPError: HTTP Error 500: Internal Server Error
Add
>>> browser.handleErrors = False
to see the real exception, not just an HTTP 500.
--
http://worldcookery.com -- Professional Zope documentation and training
Next Zope 3 training at Camp5: http://trizpug.org/boot-camp/camp5
More information about the Zope3-users
mailing list