Skip to content

Commit

Permalink
Add debug output to spatialite test
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kuhn committed Oct 16, 2017
1 parent 262836d commit 9ff6693
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/src/python/test_provider_spatialite.py
Expand Up @@ -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())
Expand Down Expand Up @@ -160,6 +161,8 @@ def setUpClass(cls):
@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)
Expand Down

0 comments on commit 9ff6693

Please sign in to comment.