test/unittest_entity.py
changeset 6173 eb386e473044
parent 6142 8bc6eac1fac1
parent 6168 a52ea49434c8
child 6366 1806148d6ce8
--- a/test/unittest_entity.py	Thu Aug 26 11:45:57 2010 +0200
+++ b/test/unittest_entity.py	Mon Sep 06 15:03:11 2010 +0200
@@ -16,9 +16,7 @@
 #
 # You should have received a copy of the GNU Lesser General Public License along
 # with CubicWeb.  If not, see <http://www.gnu.org/licenses/>.
-"""unit tests for cubicweb.web.views.entities module
-
-"""
+"""unit tests for cubicweb.web.views.entities module"""
 
 from datetime import datetime
 
@@ -329,7 +327,7 @@
         e.cw_attr_cache['content'] = 'du *texte*'
         e.cw_attr_cache['content_format'] = 'text/plain'
         self.assertEquals(e.printable_value('content'),
-                          '<p>\ndu *texte*\n</p>')
+                          '<p>\ndu *texte*<br/>\n</p>')
         e.cw_attr_cache['title'] = 'zou'
         e.cw_attr_cache['content'] = '''\
 a title