Commit fbe68561 authored by Vincent Pelletier's avatar Vincent Pelletier

Remove this test, as it cannot succeed.

Just being known to the same transaction doesn't propagate isolation
from one connection to another.

git-svn-id: https://svn.erp5.org/repos/neo/trunk@1651 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent 259d4544
......@@ -153,26 +153,6 @@ class ClientTests(NEOFunctionalTest):
self.assertEqual(c1.root()['item'], 1)
self.assertEqual(c2.root()['item'], 0)
def testIsolationWithNewConnection(self):
""" Check isolation with zope cache cleared """
self.__setup()
t, c = self.makeTransaction()
c.root()['item'] = 0
t.commit()
t1, c1 = self.makeTransaction()
t2, c2 = self.makeTransaction()
c1.root()['item'] = 1
t1.commit()
# open a new connection for this transaction
c1 = self.db.open(transaction_manager=t1)
c2 = self.db.open(transaction_manager=t2)
self.assertEqual(c1.root()['item'], 1)
self.assertEqual(c2.root()['item'], 0)
def test_suite():
return unittest.makeSuite(ClientTests)
......
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