From 9529d844e53909b92bf546ff18dfe31a8ac27429 Mon Sep 17 00:00:00 2001 From: Romain Courteaud <romain@nexedi.com> Date: Mon, 18 Apr 2011 09:41:57 +0000 Subject: [PATCH] EditorField is now able to use the css and extra properties in read only mode (r45322) git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@45535 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/ERP5/tests/testEditorField.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/product/ERP5/tests/testEditorField.py b/product/ERP5/tests/testEditorField.py index 2757d73c76..6cdac9f402 100644 --- a/product/ERP5/tests/testEditorField.py +++ b/product/ERP5/tests/testEditorField.py @@ -176,7 +176,7 @@ class TestEditorField(ERP5TypeTestCase, ZopeTestCase.Functional): """ html_text = to_utf8(html_text) text_content = document.asStrippedHTML() - match_string1 = """<div class="input">%s</div>""" % text_content + match_string1 = """<div class="input"><div class="page" >\n%s</div></div>""" % text_content match_string2 = """<div class="field page""" if html_text.find(match_string1) == -1: print html_text -- 2.30.9