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

Stephan Richter srichter@cbu.edu
Sat, 19 Apr 2003 17:27:17 -0400


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

Modified Files:
	test_contents.py 
Log Message:
Internationalized modified and created date representation in 
contents.html.


=== Zope3/src/zope/app/browser/container/tests/test_contents.py 1.11 => 1.12 ===
--- Zope3/src/zope/app/browser/container/tests/test_contents.py:1.11	Sun Mar 30 12:38:41 2003
+++ Zope3/src/zope/app/browser/container/tests/test_contents.py	Sat Apr 19 17:27:16 2003
@@ -107,7 +107,6 @@
 
         from datetime import datetime
         from zope.app.interfaces.dublincore import IZopeDublinCore
-        from zope.app.browser.container.contents import formatTime
         class FauxDCAdapter:
             __implements__ = IZopeDublinCore
 
@@ -128,8 +127,8 @@
         self.assertEqual(info['url'], 'document')
         self.assertEqual(info['object'], document)
         self.assertEqual(info['title'], 'faux title')
-        self.assertEqual(info['created'], formatTime(FauxDCAdapter.created))
-        self.assertEqual(info['modified'], formatTime(FauxDCAdapter.modified))
+        self.assertEqual(info['created'], 'Jan 1, 2001')
+        self.assertEqual(info['modified'], 'Feb 2, 2002')
 
     def testRemove(self):
         container = self._TestView__newContext()