Mercurial > p > roundup > code
diff test/test_init.py @ 759:dc05d4531f81
enabled testing of bsddb in test_init
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Tue, 11 Jun 2002 04:59:14 +0000 |
| parents | b105b46f6324 |
| children | 335b49965293 |
line wrap: on
line diff
--- a/test/test_init.py Tue Jun 11 04:58:07 2002 +0000 +++ b/test/test_init.py Tue Jun 11 04:59:14 2002 +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.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 @@ 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)
