Mercurial > p > roundup > code
changeset 6925:22d001cafd09
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.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Tue, 06 Sep 2022 18:59:39 -0400 |
| parents | e57018b1c56f |
| children | 626ef84579a3 |
| files | test/test_sqlite.py |
| diffstat | 1 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/test/test_sqlite.py Tue Sep 06 17:49:14 2022 -0400 +++ b/test/test_sqlite.py Tue Sep 06 18:59:39 2022 -0400 @@ -36,7 +36,7 @@ class sqliteDBTest(sqliteOpener, DBTest, unittest.TestCase): - """def setUp(self): + def setUp(self): # set for manual integration testing of 'native-fts' # It is unset in tearDown so it doesn't leak into other tests. # FIXME extract test methods in DBTest that hit the indexer @@ -45,14 +45,14 @@ # Then create a new class in this file: # sqliteDBTestIndexerNative_FTS # that imports from DBestIndexer to test native-fts. - # config['INDEXER'] = 'native-fts' + # + #config['INDEXER'] = 'native-fts' DBTest.setUp(self) def tearDown(self): # clean up config to prevent leak if native-fts is tested config['INDEXER'] = '' - DBTest.tearDown - """ + DBTest.tearDown(self) def testUpgrade_6_to_7(self):
