|
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.40 2004-07-20 22:56:18 richard Exp $ |
| 18 | +# $Id: db_test_base.py,v 1.41 2004-07-20 22:59:53 richard Exp $ |
19 | 19 |
|
20 | 20 | import unittest, os, shutil, errno, imp, sys, time, pprint |
21 | 21 |
|
@@ -965,14 +965,14 @@ def testFilteringDateSortPriorityGroup(self): |
965 | 965 | ae, filt = self.filteringSetup() |
966 | 966 | # ascending |
967 | 967 | ae(filt(None, {}, ('+','deadline'), ('+','priority')), |
968 | | - ['2', '1', '4', '3']) |
| 968 | + ['1', '2', '3', '4']) |
969 | 969 | ae(filt(None, {}, ('-','deadline'), ('+','priority')), |
970 | | - ['2', '4', '1', '3']) |
| 970 | + ['2', '1', '4', '3']) |
971 | 971 | # descending |
972 | 972 | ae(filt(None, {}, ('+','deadline'), ('-','priority')), |
973 | | - ['3', '1', '4', '2']) |
974 | | - ae(filt(None, {}, ('-','deadline'), ('-','priority')), |
975 | 973 | ['3', '4', '1', '2']) |
| 974 | + ae(filt(None, {}, ('-','deadline'), ('-','priority')), |
| 975 | + ['4', '3', '2', '1']) |
976 | 976 |
|
977 | 977 | # XXX add sorting tests for other types |
978 | 978 | # XXX test auditors and reactors |
|
0 commit comments