web/test/unittest_views_baseviews.py
changeset 8001 35d673b05e84
parent 7992 4ff9f25cb06e
child 8694 d901c36bcfce
--- a/web/test/unittest_views_baseviews.py	Fri Oct 21 17:42:56 2011 +0200
+++ b/web/test/unittest_views_baseviews.py	Fri Oct 21 17:48:56 2011 +0200
@@ -113,7 +113,7 @@
         e, _, view = self._prepare_entity()
         colrenderers = view.build_column_renderers()[:3]
         self.assertListEqual([renderer.sortvalue(0) for renderer in colrenderers],
-                             [u'<toto>', u'loo"ong blabla'[:10], e.creation_date])
+                             [u'<toto>', u'loo"ong blabla', e.creation_date])
         # XXX sqlite does not handle Interval correctly
         # value = loadjson(view.sortvalue(0, 3))
         # self.assertAlmostEquals(value, rset.rows[0][3].seconds)