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')
Traceback (most recent call last):
urllib2.HTTPError: HTTP Error 500: Internal Server Error


  >>> 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?


Zope3-users mailing list

Reply via email to