summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 54c2e57)
raw | patch | inline | side by side (parent: 54c2e57)
author | richard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Thu, 11 Jul 2002 01:12:34 +0000 (01:12 +0000) | ||
committer | richard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Thu, 11 Jul 2002 01:12:34 +0000 (01:12 +0000) |
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@867 57a73879-2fb5-44c3-a270-3262357dd7e2
test/test_init.py | patch | blob | history |
diff --git a/test/test_init.py b/test/test_init.py
index d96d300a8ca4f2954c1161429e633ce46194d861..e316b720c841f07fcd1c32caf00cbe9c10d0162e 100644 (file)
--- a/test/test_init.py
+++ b/test/test_init.py
# BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
# SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
#
-# $Id: test_init.py,v 1.10 2002-06-11 04:59:14 richard Exp $
+# $Id: test_init.py,v 1.11 2002-07-11 01:12:34 richard Exp $
import unittest, os, shutil, errno, imp, sys
class bsddb3ExtendedTestCase(ExtendedTestCase):
backend = 'bsddb3'
+class metakitClassicTestCase(ClassicTestCase):
+ backend = 'metakit'
+class metakitExtendedTestCase(ExtendedTestCase):
+ backend = 'metakit'
+
def suite():
l = [unittest.makeSuite(ClassicTestCase, 'test'),
unittest.makeSuite(ExtendedTestCase, 'test')]
except:
print 'bsddb3 module not found, skipping bsddb3 DBTestCase'
+ try:
+ import metakit
+ l.append(unittest.makeSuite(metakitClassicTestCase, 'test'))
+ l.append(unittest.makeSuite(metakitExtendedTestCase, 'test'))
+ except:
+ print 'metakit module not found, skipping bsddb3 DBTestCase'
+
return unittest.TestSuite(l)
#
# $Log: not supported by cvs2svn $
+# Revision 1.10 2002/06/11 04:59:14 richard
+# enabled testing of bsddb in test_init
+#
# Revision 1.9 2002/05/23 04:26:05 richard
# 'I must run unit tests before committing\n' * 100
#