Changed the Lookup test to run even when SQLite isn't installed.

This commit is contained in:
Jeremy Fincher 2003-11-19 14:50:21 +00:00
parent baaa01755f
commit e5d71ac10a

View File

@ -42,6 +42,7 @@ class LookupTestCase(PluginTestCase, PluginDocumentation):
'bar': 'baz', 'bar': 'baz',
'your mom': 'my mom', 'your mom': 'my mom',
} }
if sqlite:
def setUp(self): def setUp(self):
PluginTestCase.setUp(self) PluginTestCase.setUp(self)
fd = file(os.path.join(conf.dataDir, 'foo.supyfact'), 'w') fd = file(os.path.join(conf.dataDir, 'foo.supyfact'), 'w')