Commit 37bf8620 authored by Julien Muchembled's avatar Julien Muchembled

tests: assertNotEquals -> assertNotEqual

git-svn-id: https://svn.erp5.org/repos/neo/trunk@2696 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent 82149414
...@@ -118,7 +118,7 @@ class MasterClientHandlerTests(NeoUnitTestBase): ...@@ -118,7 +118,7 @@ class MasterClientHandlerTests(NeoUnitTestBase):
storage2_conn = self.getFakeConnection(storage2_uuid, storage2_conn = self.getFakeConnection(storage2_uuid,
(self.storage_address[0], self.storage_address[1] + 1)) (self.storage_address[0], self.storage_address[1] + 1))
self.app.setStorageReady(storage2_uuid) self.app.setStorageReady(storage2_uuid)
self.assertNotEquals(uuid, client_uuid) self.assertNotEqual(uuid, client_uuid)
conn = self.getFakeConnection(client_uuid, self.client_address) conn = self.getFakeConnection(client_uuid, self.client_address)
self.app.pt = Mock({ self.app.pt = Mock({
'getPartition': 0, 'getPartition': 0,
......
...@@ -112,9 +112,9 @@ class MasterVerificationTests(NeoUnitTestBase): ...@@ -112,9 +112,9 @@ class MasterVerificationTests(NeoUnitTestBase):
self.assertTrue(new_oid > self.app.loid) self.assertTrue(new_oid > self.app.loid)
self.assertTrue(new_tid > self.app.tm.getLastTID()) self.assertTrue(new_tid > self.app.tm.getLastTID())
self.assertRaises(VerificationFailure, verification.answerLastIDs, conn, new_oid, new_tid, new_ptid) self.assertRaises(VerificationFailure, verification.answerLastIDs, conn, new_oid, new_tid, new_ptid)
self.assertNotEquals(new_oid, self.app.loid) self.assertNotEqual(new_oid, self.app.loid)
self.assertNotEquals(new_tid, self.app.tm.getLastTID()) self.assertNotEqual(new_tid, self.app.tm.getLastTID())
self.assertNotEquals(new_ptid, self.app.pt.getID()) self.assertNotEqual(new_ptid, self.app.pt.getID())
def test_11_answerUnfinishedTransactions(self): def test_11_answerUnfinishedTransactions(self):
verification = self.verification verification = self.verification
......
...@@ -106,7 +106,7 @@ class StorageMasterHandlerTests(NeoUnitTestBase): ...@@ -106,7 +106,7 @@ class StorageMasterHandlerTests(NeoUnitTestBase):
app.nm.createStorage(uuid=uuid2) app.nm.createStorage(uuid=uuid2)
app.nm.createStorage(uuid=uuid3) app.nm.createStorage(uuid=uuid3)
ptid1, ptid2 = (1, 2) ptid1, ptid2 = (1, 2)
self.assertNotEquals(ptid1, ptid2) self.assertNotEqual(ptid1, ptid2)
app.pt = PartitionTable(3, 1) app.pt = PartitionTable(3, 1)
app.dm = Mock({ }) app.dm = Mock({ })
app.replicator = Mock({}) app.replicator = Mock({})
......
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