|
15 | 15 | # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE, |
16 | 16 | # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. |
17 | 17 | # |
18 | | -# $Id: test_init.py,v 1.9 2002-05-23 04:26:05 richard Exp $ |
| 18 | +# $Id: test_init.py,v 1.10 2002-06-11 04:59:14 richard Exp $ |
19 | 19 |
|
20 | 20 | import unittest, os, shutil, errno, imp, sys |
21 | 21 |
|
@@ -129,17 +129,20 @@ def suite(): |
129 | 129 | except: |
130 | 130 | print 'bsddb module not found, skipping bsddb DBTestCase' |
131 | 131 |
|
132 | | -# try: |
133 | | -# import bsddb3 |
134 | | -# l.append(unittest.makeSuite(bsddb3ClassicTestCase, 'test')) |
135 | | -# l.append(unittest.makeSuite(bsddb3ExtendedTestCase, 'test')) |
136 | | -# except: |
137 | | -# print 'bsddb3 module not found, skipping bsddb3 DBTestCase' |
| 132 | + try: |
| 133 | + import bsddb3 |
| 134 | + l.append(unittest.makeSuite(bsddb3ClassicTestCase, 'test')) |
| 135 | + l.append(unittest.makeSuite(bsddb3ExtendedTestCase, 'test')) |
| 136 | + except: |
| 137 | + print 'bsddb3 module not found, skipping bsddb3 DBTestCase' |
138 | 138 |
|
139 | 139 | return unittest.TestSuite(l) |
140 | 140 |
|
141 | 141 | # |
142 | 142 | # $Log: not supported by cvs2svn $ |
| 143 | +# Revision 1.9 2002/05/23 04:26:05 richard |
| 144 | +# 'I must run unit tests before committing\n' * 100 |
| 145 | +# |
143 | 146 | # Revision 1.8 2002/05/15 03:27:16 richard |
144 | 147 | # . fixed SCRIPT_NAME in ZRoundup for instances not at top level of Zope |
145 | 148 | # (thanks dman) |
|
0 commit comments