[Neo-report] r2696 jm - in /trunk/neo/tests: master/ storage/
nobody at svn.erp5.org
nobody at svn.erp5.org
Thu Mar 24 15:05:30 CET 2011
Author: jm
Date: Thu Mar 24 15:05:30 2011
New Revision: 2696
Log:
tests: assertNotEquals -> assertNotEqual
Modified:
trunk/neo/tests/master/testClientHandler.py
trunk/neo/tests/master/testVerification.py
trunk/neo/tests/storage/testMasterHandler.py
Modified: trunk/neo/tests/master/testClientHandler.py
==============================================================================
--- trunk/neo/tests/master/testClientHandler.py [iso-8859-1] (original)
+++ trunk/neo/tests/master/testClientHandler.py [iso-8859-1] Thu Mar 24 15:05:30 2011
@@ -118,7 +118,7 @@ class MasterClientHandlerTests(NeoUnitTe
storage2_conn = self.getFakeConnection(storage2_uuid,
(self.storage_address[0], self.storage_address[1] + 1))
self.app.setStorageReady(storage2_uuid)
- self.assertNotEquals(uuid, client_uuid)
+ self.assertNotEqual(uuid, client_uuid)
conn = self.getFakeConnection(client_uuid, self.client_address)
self.app.pt = Mock({
'getPartition': 0,
Modified: trunk/neo/tests/master/testVerification.py
==============================================================================
--- trunk/neo/tests/master/testVerification.py [iso-8859-1] (original)
+++ trunk/neo/tests/master/testVerification.py [iso-8859-1] Thu Mar 24 15:05:30 2011
@@ -112,9 +112,9 @@ class MasterVerificationTests(NeoUnitTes
self.assertTrue(new_oid > self.app.loid)
self.assertTrue(new_tid > self.app.tm.getLastTID())
self.assertRaises(VerificationFailure, verification.answerLastIDs, conn, new_oid, new_tid, new_ptid)
- self.assertNotEquals(new_oid, self.app.loid)
- self.assertNotEquals(new_tid, self.app.tm.getLastTID())
- self.assertNotEquals(new_ptid, self.app.pt.getID())
+ self.assertNotEqual(new_oid, self.app.loid)
+ self.assertNotEqual(new_tid, self.app.tm.getLastTID())
+ self.assertNotEqual(new_ptid, self.app.pt.getID())
def test_11_answerUnfinishedTransactions(self):
verification = self.verification
Modified: trunk/neo/tests/storage/testMasterHandler.py
==============================================================================
--- trunk/neo/tests/storage/testMasterHandler.py [iso-8859-1] (original)
+++ trunk/neo/tests/storage/testMasterHandler.py [iso-8859-1] Thu Mar 24 15:05:30 2011
@@ -106,7 +106,7 @@ class StorageMasterHandlerTests(NeoUnitT
app.nm.createStorage(uuid=uuid2)
app.nm.createStorage(uuid=uuid3)
ptid1, ptid2 = (1, 2)
- self.assertNotEquals(ptid1, ptid2)
+ self.assertNotEqual(ptid1, ptid2)
app.pt = PartitionTable(3, 1)
app.dm = Mock({ })
app.replicator = Mock({})
More information about the Neo-report
mailing list