[Zope3-checkins] CVS: Zope3/src/zope/app/browser/tests - test_undo.py:1.7

Garrett Smith garrett at mojave-corp.com
Tue Sep 23 22:57:13 EDT 2003


Update of /cvs-repository/Zope3/src/zope/app/browser/tests
In directory cvs.zope.org:/tmp/cvs-serv27705/src/zope/app/browser/tests

Modified Files:
	test_undo.py 
Log Message:
Fixed a bug that caused 12 hour time formatting to render '12:00' as '00:00'.

=== Zope3/src/zope/app/browser/tests/test_undo.py 1.6 => 1.7 ===
--- Zope3/src/zope/app/browser/tests/test_undo.py:1.6	Wed Aug  6 10:42:00 2003
+++ Zope3/src/zope/app/browser/tests/test_undo.py	Tue Sep 23 22:57:12 2003
@@ -96,7 +96,7 @@
 
     def checkResult(self, info):
         for entry in info:
-            self.assertEqual(entry['datetime'], u'Jan 1, 2001 0:00:00 PM ')
+            self.assertEqual(entry['datetime'], u'Jan 1, 2001 12:00:00 PM ')
             self.assertEqual(entry['time'], 'today')
             self.assert_(entry['user_name'] in ('bonobo', 'monkey'))
             self.assertEqual(entry['description'], 'thing'+entry['id'])




More information about the Zope3-Checkins mailing list