Skip to content

Commit 85f587f

Browse files
author
Richard Jones
committed
test gadfly init
1 parent 938d9de commit 85f587f

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

test/test_init.py

Lines changed: 10 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.17 2002-09-10 01:27:13 richard Exp $
18+
# $Id: test_init.py,v 1.18 2002-09-11 01:21:01 richard Exp $
1919

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

@@ -77,6 +77,9 @@ class bsddb3ClassicTestCase(ClassicTestCase):
7777
class metakitClassicTestCase(ClassicTestCase):
7878
backend = 'metakit'
7979

80+
class gadflyClassicTestCase(ClassicTestCase):
81+
backend = 'gadfly'
82+
8083
def suite():
8184
l = [
8285
unittest.makeSuite(ClassicTestCase, 'test'),
@@ -100,6 +103,12 @@ def suite():
100103
except:
101104
print 'metakit module not found, skipping metakit DBTestCase'
102105

106+
try:
107+
import gadfly
108+
l.append(unittest.makeSuite(gadflyClassicTestCase, 'test'))
109+
except:
110+
print 'gadfly module not found, skipping gadfly DBTestCase'
111+
103112
return unittest.TestSuite(l)
104113

105114
# vim: set filetype=python ts=4 sw=4 et si

0 commit comments

Comments
 (0)