Renamed test db for consistency

(minor change)
This commit is contained in:
Alessandro Pasotti 2019-02-12 18:25:43 +01:00
parent 2e20f13279
commit 287a3b0ebc
2 changed files with 2 additions and 2 deletions

View File

@ -1296,8 +1296,8 @@ class TestPyQgsOGRProviderGpkg(unittest.TestCase):
def test_quote_identifier(self):
"""Regression #21100"""
tmpfile = os.path.join(self.basetestpath, 'bug21100-wierd_field_names.gpkg') # spellok
shutil.copy(os.path.join(unitTestDataPath(''), 'bug21100-wierd_field_names.gpkg'), tmpfile) # spellok
tmpfile = os.path.join(self.basetestpath, 'bug_21100-wierd_field_names.gpkg') # spellok
shutil.copy(os.path.join(unitTestDataPath(''), 'bug_21100-wierd_field_names.gpkg'), tmpfile) # spellok
vl = QgsVectorLayer('{}|layerid=0'.format(tmpfile), 'foo', 'ogr')
self.assertTrue(vl.isValid())
for i in range(1, len(vl.fields())):