From: richard Date: Wed, 29 Aug 2001 06:23:59 +0000 (+0000) Subject: Disabled the bsddb3 module entirely in the unit testing. See CHANGES for X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=c186b68486dbb85faf1f01c7e5030372aefbe443;p=roundup.git Disabled the bsddb3 module entirely in the unit testing. See CHANGES for details. git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@250 57a73879-2fb5-44c3-a270-3262357dd7e2 --- diff --git a/CHANGES.txt b/CHANGES.txt index d8eb709..2c5b122 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -17,6 +17,9 @@ Fixed: . Notes entered during a change are saved to the messages list even if there's no nosy list. No message is generated if there's no nosy list and there's no change note (since it would just duplicates the journal). + . Completely removed the bsddb3 module from the tests - will be reinstated + when the http://bsddb.sourceforge.net/'s bugs #439959 and #456408 are + dealt with. One is fixed in CVS, the other pending. 2001-08-08 - 0.2.6 diff --git a/README.txt b/README.txt index 965a6b9..0c89029 100644 --- a/README.txt +++ b/README.txt @@ -97,7 +97,6 @@ roundup-server: . check the source file timestamps before reloading cgi_client . keep form fields in form on bad submission - only clear it if all ok - . change notes should be handled using an auditor 5. Known Bugs @@ -107,9 +106,7 @@ date: . date subtraction doesn't work correctly "if the dates cross leap years, phases of the moon, ..." cgi: - . setting an issue to resolved, and no other changes, results in a change - message with no indication of what changed - . enabling a filter disables the current filter hidden fields... + . enabling a filter disables the current filter hidden fields. 6. Author diff --git a/test/test_db.py b/test/test_db.py index 1e1bbad..d5318b6 100644 --- a/test/test_db.py +++ b/test/test_db.py @@ -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.6 2001-08-07 00:24:43 richard Exp $ +# $Id: test_db.py,v 1.7 2001-08-29 06:23:59 richard Exp $ import unittest, os, shutil @@ -231,17 +231,20 @@ def suite(): except: print 'bsddb module not found, skipping bsddb DBTestCase' - try: - import bsddb3 - l.append(unittest.makeSuite(bsddb3DBTestCase, 'test')) - l.append(unittest.makeSuite(bsddb3ReadOnlyDBTestCase, 'test')) - except: - print 'bsddb3 module not found, skipping bsddb3 DBTestCase' +# try: +# import bsddb3 +# l.append(unittest.makeSuite(bsddb3DBTestCase, 'test')) +# l.append(unittest.makeSuite(bsddb3ReadOnlyDBTestCase, 'test')) +# except: +# print 'bsddb3 module not found, skipping bsddb3 DBTestCase' return unittest.TestSuite(l) # # $Log: not supported by cvs2svn $ +# Revision 1.6 2001/08/07 00:24:43 richard +# stupid typo +# # Revision 1.5 2001/08/07 00:15:51 richard # Added the copyright/license notice to (nearly) all files at request of # Bizar Software. diff --git a/test/test_init.py b/test/test_init.py index 7603ed9..c63e807 100644 --- a/test/test_init.py +++ b/test/test_init.py @@ -15,7 +15,7 @@ # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE, # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. # -# $Id: test_init.py,v 1.4 2001-08-07 00:24:43 richard Exp $ +# $Id: test_init.py,v 1.5 2001-08-29 06:23:59 richard Exp $ import unittest, os, shutil, errno, imp, sys @@ -121,21 +121,24 @@ def suite(): except: print 'bsddb module not found, skipping bsddb DBTestCase' - try: - import bsddb3 - x = ClassicTestCase - x.backend = 'bsddb3' - l.append(unittest.makeSuite(x, 'test')) - x = ExtendedTestCase - x.backend = 'bsddb3' - l.append(unittest.makeSuite(x, 'test')) - except: - print 'bsddb3 module not found, skipping bsddb3 DBTestCase' +# try: +# import bsddb3 +# x = ClassicTestCase +# x.backend = 'bsddb3' +# l.append(unittest.makeSuite(x, 'test')) +# x = ExtendedTestCase +# x.backend = 'bsddb3' +# l.append(unittest.makeSuite(x, 'test')) +# except: +# print 'bsddb3 module not found, skipping bsddb3 DBTestCase' return unittest.TestSuite(l) # # $Log: not supported by cvs2svn $ +# Revision 1.4 2001/08/07 00:24:43 richard +# stupid typo +# # Revision 1.3 2001/08/07 00:15:51 richard # Added the copyright/license notice to (nearly) all files at request of # Bizar Software.