[Erp5-report] r45535 romain - /erp5/trunk/products/ERP5/tests/testEditorField.py

nobody at svn.erp5.org nobody at svn.erp5.org
Mon Apr 18 11:41:57 CEST 2011


Author: romain
Date: Mon Apr 18 11:41:57 2011
New Revision: 45535

URL: http://svn.erp5.org?rev=45535&view=rev
Log:
EditorField is now able to use the css and extra properties in read only mode (r45322)

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=45535&r1=45534&r2=45535&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/tests/testEditorField.py [utf8] (original)
+++ erp5/trunk/products/ERP5/tests/testEditorField.py [utf8] Mon Apr 18 11:41:57 2011
@@ -176,7 +176,7 @@ class TestEditorField(ERP5TypeTestCase, 
     """
     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



More information about the Erp5-report mailing list