[Zodb-checkins] CVS: Zope3/src/zodb/storage/tests - undo.py:1.11.2.5

Jeremy Hylton jeremy at zope.com
Fri Apr 18 14:17:26 EDT 2003


Update of /cvs-repository/Zope3/src/zodb/storage/tests
In directory cvs.zope.org:/tmp/cvs-serv28175

Modified Files:
      Tag: jeremy-new-pack-branch
	undo.py 
Log Message:
Make sure test2 doesn't go away.


=== Zope3/src/zodb/storage/tests/undo.py 1.11.2.4 => 1.11.2.5 ===
--- Zope3/src/zodb/storage/tests/undo.py:1.11.2.4	Fri Apr 18 12:17:13 2003
+++ Zope3/src/zodb/storage/tests/undo.py	Fri Apr 18 13:17:25 2003
@@ -626,6 +626,7 @@
             cn.sync()
 
             self.assertEqual(rt["test"].value, i % 2 and 3 or 1)
+            self.assertEqual(rt["test2"].value, 2)
             
             packtimes.append(time.time())
             snooze()
@@ -637,6 +638,7 @@
             # The last undo set the value to 3 and pack should
             # never change that.
             self.assertEqual(rt["test"].value, 3)
+            self.assertEqual(rt["test2"].value, 2)
 
     def testTransactionalUndoIterator(self):
         # check that data_txn set in iterator makes sense




More information about the Zodb-checkins mailing list