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!

_______________________________________________
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users

Reply via email to