From 9ff66936cde1be541ae3d13109a899f5ab8b363e Mon Sep 17 00:00:00 2001 From: Matthias Kuhn Date: Tue, 17 Oct 2017 00:46:36 +0200 Subject: [PATCH] Add debug output to spatialite test --- tests/src/python/test_provider_spatialite.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/src/python/test_provider_spatialite.py b/tests/src/python/test_provider_spatialite.py index 35cd35216d6..2ea17acdd73 100644 --- a/tests/src/python/test_provider_spatialite.py +++ b/tests/src/python/test_provider_spatialite.py @@ -62,6 +62,7 @@ class TestQgsSpatialiteProvider(unittest.TestCase, ProviderTestCase): @classmethod def setUpClass(cls): """Run before all tests""" + print(' ### Setup Spatialite Provider Test Class') # setup provider for base tests cls.vl = QgsVectorLayer('dbname=\'{}/provider/spatialite.db\' table="somedata" (geom) sql='.format(TEST_DATA_DIR), 'test', 'spatialite') assert(cls.vl.isValid()) @@ -160,6 +161,8 @@ class TestQgsSpatialiteProvider(unittest.TestCase, ProviderTestCase): @classmethod def tearDownClass(cls): """Run after all tests""" + print(' ### Tear Down Spatialite Provider Test Class') + # for the time being, keep the file to check with qgis # if os.path.exists(cls.dbname) : # os.remove(cls.dbname)