[Zope3-Users] Re: zope.testbrowser and ZMI?
Basil Shubin
basil.shubin at gmail.com
Thu Mar 1 10:17:01 EST 2007
Philipp von Weitershausen wrote:
> 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.
Above exception is the same, as with browser.handleErrors = False
Totaly confused here, is the above method is *right* to access ZMI?
What is *right* way to access ZMI via zope.testbrowser?
Thanks!
More information about the Zope3-users
mailing list