Thanks Baiju and Tom, Yep. Thanks for that. Forest for the trees.
Sincere regards, Darryl - shuttling off back to his corner. On Wed, 2006-06-28 at 09:14 +0530, Baiju M wrote: > On 6/28/06, Darryl Cousins <[EMAIL PROTECTED]> wrote: > > Hi All, > > > > I'm having trouble getting started with testbrowser. > > > > The problem is that zopeinstance/etc/ftesting.zcml is not being read. > > Could someone help me get started here please? > > > > The doc test - > > zopeinstance/lib/python/mypkg/browser/README.txt: > > > > >>> from zope.testbrowser import Browser > > >>> browser = Browser() > > >>> browser.addHeader('Authorization', 'Basic mgr:mgrpw') > > >>> browser = Browser('http://localhost/contents.html') > > See in the second line you created 'browser' object and set 'Authorization' > now you should open a URL like > browser.open('http://localhost/contents.html') > > Here, in fourth line you again created another 'browser' object > without 'Authorization' > > Regards, > Baiju M _______________________________________________ Zope3-users mailing list Zope3email@example.com http://mail.zope.org/mailman/listinfo/zope3-users