Skip to content

Commit f3bff55

Browse files
committed
try calling tearDown and see if tests run correctly.
I had DBTest.tearDown not DBTest.tearDown(). Sigh. See if I get failures in CI with this change.
1 parent d8c9505 commit f3bff55

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

test/test_sqlite.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ def nuke_database(self):
3636

3737
class sqliteDBTest(sqliteOpener, DBTest, unittest.TestCase):
3838

39-
"""def setUp(self):
39+
def setUp(self):
4040
# set for manual integration testing of 'native-fts'
4141
# It is unset in tearDown so it doesn't leak into other tests.
4242
# FIXME extract test methods in DBTest that hit the indexer
@@ -45,14 +45,14 @@ class sqliteDBTest(sqliteOpener, DBTest, unittest.TestCase):
4545
# Then create a new class in this file:
4646
# sqliteDBTestIndexerNative_FTS
4747
# that imports from DBestIndexer to test native-fts.
48-
# config['INDEXER'] = 'native-fts'
48+
#
49+
#config['INDEXER'] = 'native-fts'
4950
DBTest.setUp(self)
5051

5152
def tearDown(self):
5253
# clean up config to prevent leak if native-fts is tested
5354
config['INDEXER'] = ''
54-
DBTest.tearDown
55-
"""
55+
DBTest.tearDown(self)
5656

5757
def testUpgrade_6_to_7(self):
5858

0 commit comments

Comments
 (0)