diff test/test_db.py @ 1740:5ca448ff8052

don't have RDBMS backends list retired nodes [SF#767319]
author Richard Jones <richard@users.sourceforge.net>
date Tue, 12 Aug 2003 02:22:22 +0000
parents 8a908bbad1ef
children d2801a2b0a77 c4968040459e
line wrap: on
line diff
--- a/test/test_db.py	Tue Aug 12 02:10:12 2003 +0000
+++ b/test/test_db.py	Tue Aug 12 02:22:22 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.89 2003-05-09 01:47:51 richard Exp $ 
+# $Id: test_db.py,v 1.90 2003-08-12 02:22:22 richard Exp $ 
 
 import unittest, os, shutil, time
 
@@ -684,6 +684,11 @@
         ae, filt = self.filteringSetup()
         ae(filt(None, {'status': '1'}, ('+','id'), (None,None)), ['2','3'])
 
+    def testFilteringRetired(self):
+        ae, filt = self.filteringSetup()
+        self.db.issue.retire('2')
+        ae(filt(None, {'status': '1'}, ('+','id'), (None,None)), ['3'])
+
     def testFilteringMultilink(self):
         ae, filt = self.filteringSetup()
         ae(filt(None, {'nosy': '2'}, ('+','id'), (None,None)), ['3'])

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