[Zodb-checkins] CVS: StandaloneZODB/ZODB/tests - StorageTestBase.py:1.9.18.2

Jeremy Hylton jeremy@zope.com
Fri, 21 Dec 2001 16:54:41 -0500


Update of /cvs-repository/StandaloneZODB/ZODB/tests
In directory cvs.zope.org:/tmp/cvs-serv29899/ZODB/tests

Modified Files:
      Tag: Standby-branch
	StorageTestBase.py 
Log Message:
Make sure dostore() always uses a new transaction.

XXX Should commit this on other branches, too.


=== StandaloneZODB/ZODB/tests/StorageTestBase.py 1.9.18.1 => 1.9.18.2 ===
             version = ''
         # Begin the transaction
+        self._transaction = Transaction()
         self._storage.tpc_begin(self._transaction)
         # Store an object
         r1 = self._storage.store(oid, revid, data, version,