Made it depend on sqlite.

This commit is contained in:
Jeremy Fincher 2004-04-11 23:57:03 +00:00
parent 6584790a4d
commit e65a7ec17c

View File

@ -31,7 +31,13 @@
from testsupport import *
class InfobotTestCase(PluginTestCase):
try:
import sqlite
except ImportError:
sqlite = None
if sqlite is not None:
class InfobotTestCase(PluginTestCase):
plugins = ('Infobot',)
def testIsSnarf(self):
self.assertNoResponse('foo is at http://bar.com/', 2)