[CMF-checkins] CVS: Products/CMFDefault/tests - test_Document.py:1.28.4.3

Tres Seaver tseaver at zope.com
Sun Aug 1 16:33:25 EDT 2004


Update of /cvs-repository/Products/CMFDefault/tests
In directory cvs.zope.org:/tmp/cvs-serv13001/CMFDefault/tests

Modified Files:
      Tag: CMF-1_4-branch
	test_Document.py 
Log Message:


 - Make Document render compliant XHTML when format is 'plain' (thanks to
   Eric Brown for the patch).


=== Products/CMFDefault/tests/test_Document.py 1.28.4.2 => 1.28.4.3 ===
--- Products/CMFDefault/tests/test_Document.py:1.28.4.2	Sun Jul 25 16:12:17 2004
+++ Products/CMFDefault/tests/test_Document.py	Sun Aug  1 16:33:25 2004
@@ -124,7 +124,7 @@
         """test that plain text forrmat works"""
         d = self.d
         d.edit(text_format='plain', text='*some plain text*\nwith a newline')
-        self.assertEqual( d.CookedBody(), '*some plain text*<br>with a newline')
+        self.assertEqual( d.CookedBody(), '*some plain text*<br />with a newline')
 
     def test_EditStructuredTextWithHTML(self):
         d = self.d



More information about the CMF-checkins mailing list