From: richard Date: Tue, 11 Jun 2002 04:59:14 +0000 (+0000) Subject: enabled testing of bsddb in test_init X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=b12781c0bd1c3a0b28ae896c21ed57796f94c348;p=roundup.git enabled testing of bsddb in test_init git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@772 57a73879-2fb5-44c3-a270-3262357dd7e2 --- diff --git a/test/test_init.py b/test/test_init.py index 1528023..d96d300 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.9 2002-05-23 04:26:05 richard Exp $ +# $Id: test_init.py,v 1.10 2002-06-11 04:59:14 richard Exp $ import unittest, os, shutil, errno, imp, sys @@ -129,17 +129,20 @@ def suite(): except: print 'bsddb module not found, skipping bsddb DBTestCase' -# try: -# import bsddb3 -# l.append(unittest.makeSuite(bsddb3ClassicTestCase, 'test')) -# l.append(unittest.makeSuite(bsddb3ExtendedTestCase, 'test')) -# except: -# print 'bsddb3 module not found, skipping bsddb3 DBTestCase' + try: + import bsddb3 + l.append(unittest.makeSuite(bsddb3ClassicTestCase, 'test')) + l.append(unittest.makeSuite(bsddb3ExtendedTestCase, 'test')) + except: + print 'bsddb3 module not found, skipping bsddb3 DBTestCase' return unittest.TestSuite(l) # # $Log: not supported by cvs2svn $ +# Revision 1.9 2002/05/23 04:26:05 richard +# 'I must run unit tests before committing\n' * 100 +# # Revision 1.8 2002/05/15 03:27:16 richard # . fixed SCRIPT_NAME in ZRoundup for instances not at top level of Zope # (thanks dman)