[Erp5-report] r35054 nicolas - /erp5/trunk/products/ERP5/tests/testEditorField.py

nobody at svn.erp5.org nobody at svn.erp5.org
Thu May 6 14:30:48 CEST 2010


Author: nicolas
Date: Thu May  6 14:30:44 2010
New Revision: 35054

URL: http://svn.erp5.org?rev=35054&view=rev
Log:
TextAreaWidget add a new line as first character of display content.

Modified:
    erp5/trunk/products/ERP5/tests/testEditorField.py

Modified: erp5/trunk/products/ERP5/tests/testEditorField.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/tests/testEditorField.py?rev=35054&r1=35053&r2=35054&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/tests/testEditorField.py [utf8] (original)
+++ erp5/trunk/products/ERP5/tests/testEditorField.py [utf8] Thu May  6 14:30:44 2010
@@ -153,7 +153,7 @@
       text_content -- the embedded text content
     """
     html_text = to_utf8(html_text)
-    match_string = """name="field_%s" >%s</textarea>""" % (field_id, text_content)
+    match_string = """name="field_%s" >\n%s</textarea>""" % (field_id, text_content)
     if html_text.find(match_string) == -1:
       print html_text
       print match_string




More information about the Erp5-report mailing list