Skip to content

Commit 9ff6693

Browse files
committedOct 16, 2017
Add debug output to spatialite test
1 parent 262836d commit 9ff6693

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed
 

‎tests/src/python/test_provider_spatialite.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ class TestQgsSpatialiteProvider(unittest.TestCase, ProviderTestCase):
6262
@classmethod
6363
def setUpClass(cls):
6464
"""Run before all tests"""
65+
print(' ### Setup Spatialite Provider Test Class')
6566
# setup provider for base tests
6667
cls.vl = QgsVectorLayer('dbname=\'{}/provider/spatialite.db\' table="somedata" (geom) sql='.format(TEST_DATA_DIR), 'test', 'spatialite')
6768
assert(cls.vl.isValid())
@@ -160,6 +161,8 @@ def setUpClass(cls):
160161
@classmethod
161162
def tearDownClass(cls):
162163
"""Run after all tests"""
164+
print(' ### Tear Down Spatialite Provider Test Class')
165+
163166
# for the time being, keep the file to check with qgis
164167
# if os.path.exists(cls.dbname) :
165168
# os.remove(cls.dbname)

0 commit comments

Comments
 (0)
Please sign in to comment.