Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix test
  • Loading branch information
domi4484 committed Jul 23, 2021
1 parent 57de3de commit e05dd6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/src/python/test_qgsauxiliarystorage.py
Expand Up @@ -550,7 +550,7 @@ def testInvalidPrimaryKey(self):

# create auxiliary storage based on the invalid field
s = QgsAuxiliaryStorage()
pkf = vl.fields().field(vl.fields().indexOf('invalid_pk'))
pkf = field
al = s.createAuxiliaryLayer(pkf, vl)

self.assertEqual(al, None)
Expand Down

0 comments on commit e05dd6f

Please sign in to comment.