Skip to content

Commit f0d7198

Browse files
author
Richard Jones
committed
Forgot to add to init tests
1 parent 596b482 commit f0d7198

File tree

1 file changed

+16
-1
lines changed

1 file changed

+16
-1
lines changed

test/test_init.py

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
# BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
1616
# SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
1717
#
18-
# $Id: test_init.py,v 1.10 2002-06-11 04:59:14 richard Exp $
18+
# $Id: test_init.py,v 1.11 2002-07-11 01:12:34 richard Exp $
1919

2020
import unittest, os, shutil, errno, imp, sys
2121

@@ -119,6 +119,11 @@ class bsddb3ClassicTestCase(ClassicTestCase):
119119
class bsddb3ExtendedTestCase(ExtendedTestCase):
120120
backend = 'bsddb3'
121121

122+
class metakitClassicTestCase(ClassicTestCase):
123+
backend = 'metakit'
124+
class metakitExtendedTestCase(ExtendedTestCase):
125+
backend = 'metakit'
126+
122127
def suite():
123128
l = [unittest.makeSuite(ClassicTestCase, 'test'),
124129
unittest.makeSuite(ExtendedTestCase, 'test')]
@@ -136,10 +141,20 @@ def suite():
136141
except:
137142
print 'bsddb3 module not found, skipping bsddb3 DBTestCase'
138143

144+
try:
145+
import metakit
146+
l.append(unittest.makeSuite(metakitClassicTestCase, 'test'))
147+
l.append(unittest.makeSuite(metakitExtendedTestCase, 'test'))
148+
except:
149+
print 'metakit module not found, skipping bsddb3 DBTestCase'
150+
139151
return unittest.TestSuite(l)
140152

141153
#
142154
# $Log: not supported by cvs2svn $
155+
# Revision 1.10 2002/06/11 04:59:14 richard
156+
# enabled testing of bsddb in test_init
157+
#
143158
# Revision 1.9 2002/05/23 04:26:05 richard
144159
# 'I must run unit tests before committing\n' * 100
145160
#

0 commit comments

Comments
 (0)