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
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users

Reply via email to