[Zope3-checkins] CVS: Zope3/src/zope/app/browser/tests -
test_undo.py:1.8
Stephan Richter
srichter at cosmos.phy.tufts.edu
Thu Feb 5 17:52:51 EST 2004
Update of /cvs-repository/Zope3/src/zope/app/browser/tests
In directory cvs.zope.org:/tmp/cvs-serv7674/src/zope/app/browser/tests
Modified Files:
test_undo.py
Log Message:
ICU joined openi18n.org and developed a locale data XML standard called
LDML. A result of this was that all locale files were changed to this new
format. To stay up-to-date with the latest data, I converted the locale
parser to read the new format. While I was at it, I also changed the Locale
data structure a bit, since I wanted to keep the objects similar to the
XML. Furthermore, the first time around I did not implement the inheritance
of object attributes and dictionaries correctly (I just faked it for the
API calls), so I think I got it right this time. Finally I updated views
and tests that relied on the old Locale API. Be aware that you might need
to change some of your product code as well.
=== Zope3/src/zope/app/browser/tests/test_undo.py 1.7 => 1.8 ===
--- Zope3/src/zope/app/browser/tests/test_undo.py:1.7 Tue Sep 23 22:57:12 2003
+++ Zope3/src/zope/app/browser/tests/test_undo.py Thu Feb 5 17:52:20 2004
@@ -96,7 +96,7 @@
def checkResult(self, info):
for entry in info:
- self.assertEqual(entry['datetime'], u'Jan 1, 2001 12:00:00 PM ')
+ self.assertEqual(entry['datetime'], u'2001 1 1 12:00:00 ')
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