[Zope-Checkins] CVS: StandaloneZODB/ZODB/tests - StorageTestBase.py:1.12
Jeremy Hylton
jeremy@zope.com
Wed, 23 Jan 2002 12:31:36 -0500
Update of /cvs-repository/StandaloneZODB/ZODB/tests
In directory cvs.zope.org:/tmp/cvs-serv20347/tests
Modified Files:
StorageTestBase.py
Log Message:
Get rid of self._transaction.
=== StandaloneZODB/ZODB/tests/StorageTestBase.py 1.11 => 1.12 ===
t = Transaction()
self._storage.tpc_begin(t)
- self._transaction = t
# Store an object
r1 = self._storage.store(oid, revid, data, version, t)
# Finish the transaction
r2 = self._storage.tpc_vote(t)
self._storage.tpc_finish(t)
- self._transaction = None
return handle_serials(oid, r1, r2)
def _dostoreNP(self, oid=None, revid=None, data=None, version=None):