Mercurial > p > roundup > code
diff test/db_test_base.py @ 2185:c52a931879c4
sort/group by multilink in RDBMS
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Mon, 05 Apr 2004 07:13:10 +0000 |
| parents | 666402433998 |
| children | 85954067e496 |
line wrap: on
line diff
--- a/test/db_test_base.py Mon Apr 05 06:24:06 2004 +0000 +++ b/test/db_test_base.py Mon Apr 05 07:13:10 2004 +0000 @@ -15,7 +15,7 @@ # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE, # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. # -# $Id: db_test_base.py,v 1.20 2004-03-24 04:57:25 richard Exp $ +# $Id: db_test_base.py,v 1.21 2004-04-05 07:13:10 richard Exp $ import unittest, os, shutil, errno, imp, sys, time, pprint @@ -892,6 +892,11 @@ # descending should sort 1d, 1:10, None ae(filt(None, {}, ('-','foo'), (None,None)), ['2', '1', '4', '3']) + def testFilteringMultilinkSort(self): + ae, filt = self.filteringSetup() + ae(filt(None, {}, ('+','nosy'), (None,None)), ['1', '2', '4', '3']) + ae(filt(None, {}, ('-','nosy'), (None,None)), ['3', '4', '1', '2']) + # XXX add sorting tests for other types # XXX test auditors and reactors
