We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 141cadd commit 877efcaCopy full SHA for 877efca
tests/src/python/providertestbase.py
@@ -515,8 +515,8 @@ def testAddFeatureWrongGeomType(self):
515
self.assertFalse(result, 'Provider returned True to addFeatures with incorrect geometry type. Providers should reject these features.')
516
517
# make sure feature was not added
518
- added = [f for f in l.dataProvider().getFeatures() if f['pk'] == 8]
519
- self.assertTrue(added)
+ added = [f for f in l.dataProvider().getFeatures() if f['pk'] == 7]
+ self.assertFalse(added)
520
521
# yet providers MUST always accept null geometries
522
f3 = QgsFeature()
0 commit comments