|
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.54 2004-11-12 04:07:05 richard Exp $ |
| 18 | +# $Id: db_test_base.py,v 1.55 2004-11-26 00:01:04 richard Exp $ |
19 | 19 |
|
20 | 20 | import unittest, os, shutil, errno, imp, sys, time, pprint |
21 | 21 |
|
@@ -804,10 +804,12 @@ def testFindLinkUnset(self): |
804 | 804 |
|
805 | 805 | def testFindMultipleLink(self): |
806 | 806 | one, two, three, four = self._find_test_setup() |
807 | | - self.assertEqual(self.db.issue.find(status={'1':1, '3':1}), |
808 | | - [one, three, four]) |
809 | | - self.assertEqual(self.db.issue.find(assignedto={None:1, '1':1}), |
810 | | - [one, three, four]) |
| 807 | + l = self.db.issue.find(status={'1':1, '3':1}) |
| 808 | + l.sort() |
| 809 | + self.assertEqual(l, [one, three, four]) |
| 810 | + l = self.db.issue.find(assignedto={None:1, '1':1}) |
| 811 | + l.sort() |
| 812 | + self.assertEqual(l, [one, three, four]) |
811 | 813 |
|
812 | 814 | def testFindMultilink(self): |
813 | 815 | one, two, three, four = self._find_test_setup() |
|
0 commit comments