Skip to content

Commit

Permalink
Fixed test_DateColumn
Browse files Browse the repository at this point in the history
  • Loading branch information
gbastien committed Oct 20, 2023
1 parent aa74655 commit 09f2d4c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/collective/eeafaceted/z3ctable/tests/test_columns.py
Expand Up @@ -200,6 +200,7 @@ def test_DateColumn(self):
self.assertEqual(column.renderCell(brain), u'-')
column.ignored_value = None
# test the long_format parameter
column.attrName = 'CreationDate'
self.assertIn(column.renderCell(brain), (u'May 05, 2015 12:30 PM', '2015-05-05 12:30'))
column.time_only = True
self.assertIn(column.renderCell(brain), (u'12:30', u'12:30 PM'))
Expand Down

0 comments on commit 09f2d4c

Please sign in to comment.