Skip to content

Commit a5ed299

Browse files
author
Richard Jones
committed
fix unit test
1 parent 059d833 commit a5ed299

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

test/db_test_base.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
# BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
1616
# SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
1717
#
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 $
1919

2020
import unittest, os, shutil, errno, imp, sys, time, pprint
2121

@@ -965,14 +965,14 @@ def testFilteringDateSortPriorityGroup(self):
965965
ae, filt = self.filteringSetup()
966966
# ascending
967967
ae(filt(None, {}, ('+','deadline'), ('+','priority')),
968-
['2', '1', '4', '3'])
968+
['1', '2', '3', '4'])
969969
ae(filt(None, {}, ('-','deadline'), ('+','priority')),
970-
['2', '4', '1', '3'])
970+
['2', '1', '4', '3'])
971971
# descending
972972
ae(filt(None, {}, ('+','deadline'), ('-','priority')),
973-
['3', '1', '4', '2'])
974-
ae(filt(None, {}, ('-','deadline'), ('-','priority')),
975973
['3', '4', '1', '2'])
974+
ae(filt(None, {}, ('-','deadline'), ('-','priority')),
975+
['4', '3', '2', '1'])
976976

977977
# XXX add sorting tests for other types
978978
# XXX test auditors and reactors

0 commit comments

Comments
 (0)