Skip to content
Permalink
Browse files
Fix test
  • Loading branch information
domi4484 authored and nyalldawson committed Jun 28, 2021
1 parent 2d1bb60 commit ae0d37ac8a9773176db5b4e410e0fcf09b5be480
Showing with 1 addition and 1 deletion.
  1. +1 −1 tests/src/python/test_qgsauxiliarystorage.py
@@ -551,7 +551,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)

0 comments on commit ae0d37a

Please sign in to comment.