[twill] twill - "title" bug?
titus at caltech.edu
Mon Nov 21 08:35:47 PST 2005
On Mon, Nov 21, 2005 at 03:20:42PM +0100, Simon B?nzli wrote:
-> Hello Titus
-> I've started employing twill for creating a test suite for some web
-> services. Unfortunately, there have so far been two hoops I had to jump
-> * urllib2 does not support proxy bypassing as of Python 2.4. Since we're
-> using a global proxy and I'm developing locally, I first had to patch
-> urllib2 correspondingly (only got 403's for http://localhost/). See the
-> following links for possible fixes (or the attached diff file for a
-> minimal fix):
thanks -- I'll look into this.
-> * twill 0.7.4 apparently uses xml.dom.minidom for extracting the title
-> of an HTML page. Since this parser checks for well-formedness, all
-> non-XHTML pages raise an error when using "title". See the attached fix
-> for using wwwsearch's pullparser instead.
-> Otherwise, thanks a lot and keep up the good work.
Heh, I *just* put in this same fix, although yours looks more general.
(Mine isn't even available in the -latest.tar.gz.) Great minds think
alike, and sometimes I think like that, too...
More information about the twill