Mercurial > p > roundup > code
diff test/db_test_base.py @ 2508:8e1c1623710b
rdbms backends not filtering correctly on link=None
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Tue, 29 Jun 2004 05:51:38 +0000 |
| parents | bdd112cf61ba |
| children | 091711fb2f8c |
line wrap: on
line diff
--- a/test/db_test_base.py Mon Jun 28 23:17:49 2004 +0000 +++ b/test/db_test_base.py Tue Jun 29 05:51:38 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.35 2004-06-28 23:13:06 richard Exp $ +# $Id: db_test_base.py,v 1.36 2004-06-29 05:51:38 richard Exp $ import unittest, os, shutil, errno, imp, sys, time, pprint @@ -876,6 +876,9 @@ ae, filt = self.filteringSetup() ae(filt(None, {'status': '1'}, ('+','id'), (None,None)), ['2','3']) ae(filt(None, {'assignedto': '-1'}, ('+','id'), (None,None)), ['3','4']) + ae(filt(None, {'assignedto': None}, ('+','id'), (None,None)), ['3','4']) + ae(filt(None, {'assignedto': ['-1', None]}, ('+','id'), (None,None)), + ['3','4']) def testFilteringRetired(self): ae, filt = self.filteringSetup()
