|
15 | 15 | # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE, |
16 | 16 | # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. |
17 | 17 | # |
18 | | -# $Id: db_test_base.py,v 1.27.2.12 2004-11-05 05:11:25 richard Exp $ |
| 18 | +# $Id: db_test_base.py,v 1.27.2.13 2004-11-26 00:00:32 richard Exp $ |
19 | 19 |
|
20 | 20 | import unittest, os, shutil, errno, imp, sys, time, pprint |
21 | 21 |
|
@@ -763,10 +763,12 @@ def testFindLinkUnset(self): |
763 | 763 |
|
764 | 764 | def testFindMultipleLink(self): |
765 | 765 | one, two, three, four = self._find_test_setup() |
766 | | - self.assertEqual(self.db.issue.find(status={'1':1, '3':1}), |
767 | | - [one, three, four]) |
768 | | - self.assertEqual(self.db.issue.find(assignedto={None:1, '1':1}), |
769 | | - [one, three, four]) |
| 766 | + l = self.db.issue.find(status={'1':1, '3':1}) |
| 767 | + l.sort() |
| 768 | + self.assertEqual(l, [one, three, four]) |
| 769 | + l = self.db.issue.find(assignedto={None:1, '1':1}) |
| 770 | + l.sort() |
| 771 | + self.assertEqual(l, [one, three, four]) |
770 | 772 |
|
771 | 773 | def testFindMultilink(self): |
772 | 774 | one, two, three, four = self._find_test_setup() |
|
0 commit comments