Package trac :: Package tests :: Package functional :: Module better_twill

Module better_twill

source code

better_twill is a small wrapper around twill to set some sane defaults and monkey-patch some better versions of some of twill's methods. It also handles twill's absense.
Functions
 
twill_write_html()
Write the current html to a file.
source code
 
better_formvalue(form, field, value, fv=<function formvalue at 0x4365ed8>) source code
 
better_formfile(formname, fieldname, filename, content_type=None, fp=None) source code
 
better_find(what, flags='', tcfind=<function find at 0x43658c0>) source code
 
better_notfind(what, flags='', tcnotfind=<function notfind at 0x4365938>) source code
Variables
  b = None
  __package__ = 'trac.tests.functional'

Imports: os, abspath, dirname, join, sys, pv, StringIO, twill, ConnectError, etree, tc


Function Details

twill_write_html()

source code 
Write the current html to a file. Name the file based on the current testcase.