diff -r 817e96eeac5c -r 3ef8cdb5fb1c web/test/unittest_views_baseviews.py --- a/web/test/unittest_views_baseviews.py Mon Oct 19 20:22:01 2009 +0200 +++ b/web/test/unittest_views_baseviews.py Wed Oct 21 17:32:20 2009 +0200 @@ -99,7 +99,7 @@ def test_sortvalue(self): e, _, view = self._prepare_entity() - expected = ['', 'loo"ong blabla'[:10], e.creation_date.strftime('%Y-%m-%d %H:%M')] + expected = ['', 'loo"ong blabla'[:10], e.creation_date.strftime('%Y/%m/%d %H:%M:%S')] got = [loadjson(view.sortvalue(0, i)) for i in xrange(3)] self.assertListEqual(got, expected) # XXX sqlite does not handle Interval correctly @@ -111,7 +111,7 @@ labels = view.columns_labels() table = TableWidget(view) table.columns = view.get_columns(labels, [1, 2], None, None, None, None, 0) - expected = ['loo"ong blabla'[:10], e.creation_date.strftime('%Y-%m-%d %H:%M')] + expected = ['loo"ong blabla'[:10], e.creation_date.strftime('%Y/%m/%d %H:%M:%S')] got = [loadjson(value) for _, value in table.itercols(0)] self.assertListEqual(got, expected)