Commit 60ffe1be authored by Andreas Jung's avatar Andreas Jung

merging Zope211-3.4-integration branch

parent 6c6bed3d
...@@ -56,7 +56,7 @@ class TemporaryStorageTests( ...@@ -56,7 +56,7 @@ class TemporaryStorageTests(
def doreadconflict(self, db, mvcc): def doreadconflict(self, db, mvcc):
tm1 = transaction.TransactionManager() tm1 = transaction.TransactionManager()
conn = db.open(mvcc=mvcc, transaction_manager=tm1) conn = db.open(transaction_manager=tm1)
r1 = conn.root() r1 = conn.root()
obj = MinPO('root') obj = MinPO('root')
r1["p"] = obj r1["p"] = obj
...@@ -66,7 +66,7 @@ class TemporaryStorageTests( ...@@ -66,7 +66,7 @@ class TemporaryStorageTests(
# start a new transaction with a new connection # start a new transaction with a new connection
tm2 = transaction.TransactionManager() tm2 = transaction.TransactionManager()
cn2 = db.open(mvcc=mvcc, transaction_manager=tm2) cn2 = db.open(transaction_manager=tm2)
r2 = cn2.root() r2 = cn2.root()
self.assertEqual(r1._p_serial, r2._p_serial) self.assertEqual(r1._p_serial, r2._p_serial)
...@@ -85,10 +85,6 @@ class TemporaryStorageTests( ...@@ -85,10 +85,6 @@ class TemporaryStorageTests(
obj.child1 obj.child1
return obj return obj
def checkWithoutMVCCRaisesReadConflict(self):
db = DB(self._storage)
self.assertRaises(ReadConflictError, self.doreadconflict, db, False)
def checkWithMVCCDoesntRaiseReadConflict(self): def checkWithMVCCDoesntRaiseReadConflict(self):
db = DB(self._storage) db = DB(self._storage)
ob = self.doreadconflict(db, True) ob = self.doreadconflict(db, True)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment