diff -r dcc5a4d48122 -r 4ff9f25cb06e web/test/unittest_views_pyviews.py --- a/web/test/unittest_views_pyviews.py Fri Oct 21 14:32:37 2011 +0200 +++ b/web/test/unittest_views_pyviews.py Fri Oct 21 14:32:37 2011 +0200 @@ -1,4 +1,4 @@ -# copyright 2003-2010 LOGILAB S.A. (Paris, FRANCE), all rights reserved. +# copyright 2003-2011 LOGILAB S.A. (Paris, FRANCE), all rights reserved. # contact http://www.logilab.fr/ -- mailto:contact@logilab.fr # # This file is part of CubicWeb. @@ -25,10 +25,9 @@ pyvalue=[[1, 'a'], [2, 'b']]) content = view.render(pyvalue=[[1, 'a'], [2, 'b']], headers=['num', 'char']) - self.assertEqual(content.strip(), ''' - - - + self.assertEqual(content.strip(), '''
numchar
1a
2b
\ + +
1a
2b
''') def test_pyvallist(self):