mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-15 00:04:00 -04:00
Add debug output to spatialite test
This commit is contained in:
parent
262836d5fd
commit
9ff66936cd
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user