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

Jeremy Hylton jeremy@zope.com
Fri, 18 Apr 2003 12:17:13 -0400


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

Modified Files:
      Tag: jeremy-new-pack-branch
	undo.py 
Log Message:
Fix packing of George Bailey events and add test of this case.


=== Zope3/src/zodb/storage/tests/undo.py 1.11.2.3 => 1.11.2.4 ===
--- Zope3/src/zodb/storage/tests/undo.py:1.11.2.3	Thu Apr 17 19:00:12 2003
+++ Zope3/src/zodb/storage/tests/undo.py	Fri Apr 18 12:17:13 2003
@@ -622,8 +622,9 @@
             txn = get_transaction()
             txn.note("undo %d" % i)
             txn.commit()
-
+            rt._p_deactivate()
             cn.sync()
+
             self.assertEqual(rt["test"].value, i % 2 and 3 or 1)
             
             packtimes.append(time.time())