Skip to content
Permalink
Browse files

Update test with Bool type instead of Int type

  • Loading branch information
pblottiere committed Nov 14, 2017
1 parent cb56617 commit 76635894bd42d53d31bfe8749d5d63c71743c353
Showing with 1 addition and 1 deletion.
  1. +1 −1 tests/src/python/test_qgsvectorfilewriter.py
@@ -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)

0 comments on commit 7663589

Please sign in to comment.
You can’t perform that action at this time.