diff -r 1bb43e31032d -r a14b6562082b web/test/unittest_views_pyviews.py --- a/web/test/unittest_views_pyviews.py Tue Feb 14 15:14:22 2012 +0100 +++ b/web/test/unittest_views_pyviews.py Tue Jul 10 15:07:23 2012 +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):