From: richard Date: Wed, 11 Sep 2002 01:21:01 +0000 (+0000) Subject: test gadfly init X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=ac807d19434434d1089a12f9698d8b7c339dad8d;p=roundup.git test gadfly init git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@1132 57a73879-2fb5-44c3-a270-3262357dd7e2 --- diff --git a/test/test_init.py b/test/test_init.py index eab0160..fb524a2 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.17 2002-09-10 01:27:13 richard Exp $ +# $Id: test_init.py,v 1.18 2002-09-11 01:21:01 richard Exp $ import unittest, os, shutil, errno, imp, sys @@ -77,6 +77,9 @@ class bsddb3ClassicTestCase(ClassicTestCase): class metakitClassicTestCase(ClassicTestCase): backend = 'metakit' +class gadflyClassicTestCase(ClassicTestCase): + backend = 'gadfly' + def suite(): l = [ unittest.makeSuite(ClassicTestCase, 'test'), @@ -100,6 +103,12 @@ def suite(): except: print 'metakit module not found, skipping metakit DBTestCase' + try: + import gadfly + l.append(unittest.makeSuite(gadflyClassicTestCase, 'test')) + except: + print 'gadfly module not found, skipping gadfly DBTestCase' + return unittest.TestSuite(l) # vim: set filetype=python ts=4 sw=4 et si