[Neo-report] r1801 gregory - /trunk/neo/tests/storage/testStorageMySQLdb.py

nobody at svn.erp5.org nobody at svn.erp5.org
Fri Feb 19 17:21:57 CET 2010


Author: gregory
Date: Fri Feb 19 17:21:54 2010
New Revision: 1801

Log:
Fix test after r1797.

Modified:
    trunk/neo/tests/storage/testStorageMySQLdb.py

Modified: trunk/neo/tests/storage/testStorageMySQLdb.py
==============================================================================
--- trunk/neo/tests/storage/testStorageMySQLdb.py [iso-8859-1] (original)
+++ trunk/neo/tests/storage/testStorageMySQLdb.py [iso-8859-1] Fri Feb 19 17:21:54 2010
@@ -620,16 +620,16 @@
                 (u64(tid)))
         # get all tids for all partitions
         result = self.db.getTIDList(0, 4, 2, (0, 1))
-        self.assertEquals(result, [tid4, tid3, tid2, tid1])
+        self.assertEquals(result, [tid1, tid2, tid3, tid4])
         # get all tids but from the second with a limit a two
         result = self.db.getTIDList(1, 2, 2, (0, 1))
-        self.assertEquals(result, [tid3, tid2])
+        self.assertEquals(result, [tid2, tid3])
         # get all tids for the first partition
         result = self.db.getTIDList(0, 2, 2, (0, ))
-        self.assertEquals(result, [tid3, tid1])
+        self.assertEquals(result, [tid1, tid3])
         # get all tids for the second partition with a limit of one
         result = self.db.getTIDList(0, 1, 2, (1, ))
-        self.assertEquals(result, [tid4])
+        self.assertEquals(result, [tid2])
         # get all tids for the second partition with an offset of 3 > nothing
         result = self.db.getTIDList(3, 2, 2, (1, ))
         self.assertEquals(result, [])





More information about the Neo-report mailing list