Skip to content

Commit

Permalink
Update test with Bool type instead of Int type
Browse files Browse the repository at this point in the history
  • Loading branch information
pblottiere committed Nov 15, 2017
1 parent cb56617 commit 7663589
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/src/python/test_qgsvectorfilewriter.py
Expand Up @@ -127,7 +127,7 @@ def testWriteWithBoolField(self):

# test type of converted field
idx = fields.indexFromName('fld1')
self.assertEqual(fields.at(idx).type(), QVariant.Int)
self.assertEqual(fields.at(idx).type(), QVariant.Bool)

# test values
self.assertEqual(vl.getFeature(1).attributes()[idx], 1)
Expand Down

0 comments on commit 7663589

Please sign in to comment.