Mercurial > p > roundup > code
diff test/db_test_base.py @ 3148:0a652c47bc9e maint-0.8
merge from HEAD
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Sun, 13 Feb 2005 22:40:53 +0000 |
| parents | a7045bad20de |
| children | e1da7b5b04ab |
line wrap: on
line diff
--- a/test/db_test_base.py Sun Feb 13 22:19:43 2005 +0000 +++ b/test/db_test_base.py Sun Feb 13 22:40:53 2005 +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.55.2.2 2005-01-04 01:33:04 richard Exp $ +# $Id: db_test_base.py,v 1.55.2.3 2005-02-13 22:40:53 richard Exp $ import unittest, os, shutil, errno, imp, sys, time, pprint @@ -920,10 +920,14 @@ def testFilteringString(self): ae, filt = self.filteringSetup() ae(filt(None, {'title': ['one']}, ('+','id'), (None,None)), ['1']) + ae(filt(None, {'title': ['issue one']}, ('+','id'), (None,None)), + ['1']) + ae(filt(None, {'title': ['issue', 'one']}, ('+','id'), (None,None)), + ['1']) ae(filt(None, {'title': ['issue']}, ('+','id'), (None,None)), ['1','2','3']) ae(filt(None, {'title': ['one', 'two']}, ('+','id'), (None,None)), - ['1', '2']) + []) def testFilteringLink(self): ae, filt = self.filteringSetup()
