[Zope-Checkins]
SVN: Zope/branches/2.9-with-ZODB3.8/lib/python/OFS/tests/testHistory.py
- fixed test that was too strict
Christian Theune
ct at gocept.com
Fri Mar 9 10:49:15 EST 2007
Log message for revision 73121:
- fixed test that was too strict
Changed:
U Zope/branches/2.9-with-ZODB3.8/lib/python/OFS/tests/testHistory.py
-=-
Modified: Zope/branches/2.9-with-ZODB3.8/lib/python/OFS/tests/testHistory.py
===================================================================
--- Zope/branches/2.9-with-ZODB3.8/lib/python/OFS/tests/testHistory.py 2007-03-09 15:47:50 UTC (rev 73120)
+++ Zope/branches/2.9-with-ZODB3.8/lib/python/OFS/tests/testHistory.py 2007-03-09 15:49:14 UTC (rev 73121)
@@ -69,8 +69,8 @@
self.failUnless('tid' in entry)
self.failUnless('time' in entry)
if i:
- # check times are increasing
- self.failUnless(entry['time']<r[i-1]['time'])
+ # check times are not decreasing
+ self.failUnless(entry['time']<=r[i-1]['time'])
self.assertEqual(entry['user_name'],'')
self.assertEqual(entry['version'],'')
More information about the Zope-Checkins
mailing list