[twill] documentation mismatch?

iain duncan iainduncan at telus.net
Wed Nov 21 00:54:14 PST 2007


Hi all, just getting into Twill and I can see it will be great for
functional testing my TG apps.

I assume this is the place for bug reports and feature requests?

Something I found:

The command reference at
http://twill.idyll.org/commands.html
says that when called from python, showlinks and showforms return lists.
However, in my shell, they seem to be returning generators that won't
let me do:

len( showlinks() )

I think it would be handly to be able to count them, but of course I can
flatten the generator. However, thought I'd point out that doc mismatch
and it might be nice to avoid the explicit conversion to list.


BTW, thanks for the shortcuts book too!
Iain





More information about the twill mailing list