diff test/test_db.py @ 1555:948c7764d46c

implemented ability to search for multilink properties with no value (not in mk)
author Richard Jones <richard@users.sourceforge.net>
date Wed, 26 Mar 2003 04:56:21 +0000
parents 3faabaeab6aa
children e2a8ce4d2317
line wrap: on
line diff
--- a/test/test_db.py	Wed Mar 26 04:54:59 2003 +0000
+++ b/test/test_db.py	Wed Mar 26 04:56:21 2003 +0000
@@ -15,7 +15,7 @@
 # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
 # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
 # 
-# $Id: test_db.py,v 1.81 2003-03-22 22:43:21 richard Exp $ 
+# $Id: test_db.py,v 1.82 2003-03-26 04:56:21 richard Exp $ 
 
 import unittest, os, shutil, time
 
@@ -672,6 +672,7 @@
     def testFilteringMultilink(self):
         ae, filt = self.filteringSetup()
         ae(filt(None, {'nosy': '2'}, ('+','id'), (None,None)), ['3'])
+        ae(filt(None, {'nosy': '-1'}, ('+','id'), (None,None)), ['1', '2'])
 
     def testFilteringMany(self):
         ae, filt = self.filteringSetup()

Roundup Issue Tracker: http://roundup-tracker.org/