[CMF-checkins] CVS: CMF/CMFDefault/tests - test_Document.py:1.30
Yvo Schubbe
schubbe at web.de
Fri Sep 26 10:27:11 EDT 2003
Update of /cvs-repository/CMF/CMFDefault/tests
In directory cvs.zope.org:/tmp/cvs-serv25407/CMFDefault/tests
Modified Files:
test_Document.py
Log Message:
cleanup:
- removed some dead code
- narrowed try statement
- updated html to xhtml
=== CMF/CMFDefault/tests/test_Document.py 1.29 => 1.30 ===
--- CMF/CMFDefault/tests/test_Document.py:1.29 Tue Jul 15 11:50:55 2003
+++ CMF/CMFDefault/tests/test_Document.py Fri Sep 26 10:27:10 2003
@@ -137,7 +137,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