mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-27 00:33:48 -05:00
Spellok
This commit is contained in:
parent
b51426640d
commit
0797059a38
@ -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')
|
||||
shutil.copy(os.path.join(unitTestDataPath(''), 'bug21100-wierd_field_names.gpkg'), tmpfile)
|
||||
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
|
||||
vl = QgsVectorLayer('{}|layerid=0'.format(tmpfile), 'foo', 'ogr')
|
||||
self.assertTrue(vl.isValid())
|
||||
for i in range(1, len(vl.fields())):
|
||||
|
Loading…
x
Reference in New Issue
Block a user