From b34117a256a2b7435f01917cf3f08e580d8ab95a Mon Sep 17 00:00:00 2001 From: James Taylor Date: Fri, 29 Jun 2007 00:27:24 +0000 Subject: [PATCH] Fix (now less fragile). --- templates/history.tmpl | 1 + test/base/twilltestcase.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/templates/history.tmpl b/templates/history.tmpl index 3db5f3c7c13..25d70cf93fc 100644 --- a/templates/history.tmpl +++ b/templates/history.tmpl @@ -9,6 +9,7 @@ #if $refresh + #end if diff --git a/test/base/twilltestcase.py b/test/base/twilltestcase.py index 5ed3630825e..d018c720851 100644 --- a/test/base/twilltestcase.py +++ b/test/base/twilltestcase.py @@ -290,7 +290,7 @@ class TwillTestCase(unittest.TestCase): count += 1 tc.go("./history") page = tc.browser.get_html() - if page.find('add_refresh( 9 );') > -1: + if page.find( '' ) > -1: time.sleep( sleep_amount ) sleep_amount += 1 else: