[Zope3-Users] Getting started with testbrowser

Tom Dossis td at yoma.com.au
Wed Jun 28 01:34:35 EDT 2006


Darryl Cousins wrote:

>>     >>> from zope.testbrowser import Browser
>>     >>> browser = Browser()
>>     >>> browser.addHeader('Authorization', 'Basic mgr:mgrpw')

oops:
>>     >>> browser = Browser('http://localhost/contents.html')
           # should be
           browser.open('http://localhost/contents.html')




More information about the Zope3-users mailing list