[Zope-Checkins] CVS: ZODB/src/ZEO/tests - ConnectionTests.py:1.54
Jeremy Hylton
jeremy at zope.com
Wed Apr 14 17:11:21 EDT 2004
Update of /cvs-repository/ZODB/src/ZEO/tests
In directory cvs.zope.org:/tmp/cvs-serv14564
Modified Files:
ConnectionTests.py
Log Message:
Use a more direct way to force invalidations, while also avoiding
the deprecation warning for setLocalTransaction().
=== ZODB/src/ZEO/tests/ConnectionTests.py 1.53 => 1.54 ===
--- ZODB/src/ZEO/tests/ConnectionTests.py:1.53 Wed Mar 31 22:56:59 2004
+++ ZODB/src/ZEO/tests/ConnectionTests.py Wed Apr 14 17:11:20 2004
@@ -573,9 +573,7 @@
self.assert_(c1._invalidated.has_key(r1._p_oid))
# force the invalidations to be applied...
- c1.setLocalTransaction()
- c1.getTransaction().register(c1)
- c1.getTransaction().abort()
+ c1.sync()
r1.keys() # unghostify
self.assertEqual(r1._p_serial, r2._p_serial)
More information about the Zope-Checkins
mailing list