[Zope3-checkins] CVS: Zope3/src/zope/app/browser/container/tests - test_contents.py:1.19

Guido van Rossum guido@python.org
Thu, 5 Jun 2003 16:59:48 -0400


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

Modified Files:
	test_contents.py 
Log Message:
Use a different formatter for Created and Modified times, showing time
as well as date.  (This reveals that the formatting is in UTC rather
than in local time, but surely the fix for that is in an unrelated
piece of code.)


=== Zope3/src/zope/app/browser/container/tests/test_contents.py 1.18 => 1.19 ===
--- Zope3/src/zope/app/browser/container/tests/test_contents.py:1.18	Thu Jun  5 08:03:13 2003
+++ Zope3/src/zope/app/browser/container/tests/test_contents.py	Thu Jun  5 16:59:47 2003
@@ -122,8 +122,8 @@
         self.assertEqual(info['url'], 'document')
         self.assertEqual(info['object'], document)
         self.assertEqual(info['title'], 'faux title')
-        self.assertEqual(info['created'], 'Jan 1, 2001')
-        self.assertEqual(info['modified'], 'Feb 2, 2002')
+        self.assertEqual(info['created'], '1/1/01 2:01 AM ')
+        self.assertEqual(info['modified'], '2/2/02 3:02 AM ')
 
     def testRemove(self):
         container = self._TestView__newContext()