Mercurial > p > roundup > code
diff test/test_init.py @ 1111:a7a1f6098263
test gadfly init
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Wed, 11 Sep 2002 01:21:01 +0000 |
| parents | 854d45f8b745 |
| children | 14467c765167 |
line wrap: on
line diff
--- a/test/test_init.py Wed Sep 11 01:20:41 2002 +0000 +++ b/test/test_init.py Wed Sep 11 01:21:01 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.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 metakitClassicTestCase(ClassicTestCase): backend = 'metakit' +class gadflyClassicTestCase(ClassicTestCase): + backend = 'gadfly' + def suite(): l = [ unittest.makeSuite(ClassicTestCase, 'test'), @@ -100,6 +103,12 @@ 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
