Mercurial > p > roundup > code
changeset 243:1e571b6be57a 0.2.7
Disabled the bsddb3 module entirely in the unit testing.
See CHANGES for details.
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Wed, 29 Aug 2001 06:23:59 +0000 |
| parents | 22bab253c9ea |
| children | 6bf584784e31 |
| files | CHANGES.txt README.txt test/test_db.py test/test_init.py |
| diffstat | 4 files changed, 28 insertions(+), 22 deletions(-) [+] |
line wrap: on
line diff
--- a/CHANGES.txt Wed Aug 29 05:47:55 2001 +0000 +++ b/CHANGES.txt Wed Aug 29 06:23:59 2001 +0000 @@ -17,6 +17,9 @@ . 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
--- a/README.txt Wed Aug 29 05:47:55 2001 +0000 +++ b/README.txt Wed Aug 29 06:23:59 2001 +0000 @@ -97,7 +97,6 @@ . 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 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
--- a/test/test_db.py Wed Aug 29 05:47:55 2001 +0000 +++ b/test/test_db.py Wed Aug 29 06:23:59 2001 +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.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 @@ 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.
--- a/test/test_init.py Wed Aug 29 05:47:55 2001 +0000 +++ b/test/test_init.py Wed Aug 29 06:23:59 2001 +0000 @@ -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 @@ 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.
