Disable twill page refresh.

This commit is contained in:
Bastian Kleineidam 2014-03-01 18:19:29 +01:00
parent 1eb5e334f9
commit 39c39b1d9f
2 changed files with 4 additions and 0 deletions

View file

@ -30,6 +30,8 @@ Changes:
Closes: GH bug #394, #460
- checking: Document that gconf and KDE proxy settings are parsed.
Closes: GH bug #424
- checking: Disable twill page refreshing.
Closes: GH bug #423
Fixes:
- logging: Status was printed every second regardless of the

View file

@ -66,6 +66,8 @@ def configure_twill (tc):
"""
# make sure readonly controls are writeable (might be needed)
tc.config("readonly_controls_writeable", True)
# disable page refreshing
tc.config("acknowledge_equiv_refresh", False)
# fake IE 6.0 to talk sense into some sites (eg. SourceForge)
tc.agent("Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)")
# tell twill to shut up