[test] limit size is now done by the layout
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Fri, 21 Oct 2011 17:48:56 +0200
changeset 8001 35d673b05e84
parent 8000 9a73d5e762b0
child 8002 822a8150f78d
[test] limit size is now done by the layout
web/test/unittest_views_baseviews.py
--- 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)