Re: Switching zope.testbrowser to webtest instead of mechanize

Brian Sutherland <[email protected]>
Newsgroups gmane.comp.web.zope.devel
Message-ID <[email protected]>
On Tue, Mar 05, 2013 at 06:49:35PM +0200, Andrey Lebedev wrote:
> On 03/05/2013 06:45 PM, Brian Sutherland wrote:
> >One thing which I'm not sure you can do with a webtest backend is using
> >it as a real browser. i.e. you'll probably not get over_the_wire.txt to
> >pass. However, I don't know of anyone who actually uses that
> >functionality.
> 
> Hm, webtest claims it can do this [1], but I haven't tested it myself yet.
> 
> [1] http://webtest.pythonpaste.org/en/latest/testapp.html#testing-a-non-wsgi-application

Nice!

-- 
Brian Sutherland
_______________________________________________
Zope-Dev maillist  -  [email protected]
https://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists -
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope )
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.