From a7361179aa698c3af3221e70933b01eb94161e22 Mon Sep 17 00:00:00 2001 From: Zooko O'Whielacronx Date: Thu, 20 Dec 2007 15:23:07 -0700 Subject: [PATCH] make the unit test of the overwrite button more general --- src/allmydata/test/test_web.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/allmydata/test/test_web.py b/src/allmydata/test/test_web.py index 5e87e375..1c96c8d3 100644 --- a/src/allmydata/test/test_web.py +++ b/src/allmydata/test/test_web.py @@ -1002,8 +1002,8 @@ class Web(WebMixin, unittest.TestCase): # test that clicking on the "overwrite" button works EVEN_NEWER_CONTENTS = NEWER_CONTENTS + "even newer\n" - OVERWRITE_FORM_RE=re.compile('
OverwriteChoose new file:
', re.I) def _parse_overwrite_form_and_submit(res): + OVERWRITE_FORM_RE=re.compile('
', re.I) mo = OVERWRITE_FORM_RE.search(res) self.failUnless(mo) formaction=mo.group(1) -- 2.45.2