Skip to content

Commit 6ddf78c

Browse files
committedMar 7, 2019
Fix tests
1 parent 0325a37 commit 6ddf78c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed
 

‎tests/src/python/test_qgsvectorlayerutils.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -552,10 +552,10 @@ def test_make_features_compatible_attributes(self):
552552
f1.setAttributes([1, 'foo', 'blah'])
553553
QgsVectorLayerUtils.matchAttributesToFields(f1, fields)
554554
self.assertEqual(len(f1.attributes()), 4)
555-
self.assertEqual(f1.attributes()[0], 'foo')
556-
self.assertEqual(f1.attributes()[1], 1)
557-
self.assertEqual(f1.attributes()[2], QVariant())
558-
self.assertEqual(f1.attributes()[3], 'blah')
555+
self.assertEqual(f1.attributes()[0], 1)
556+
self.assertEqual(f1.attributes()[1], 'foo')
557+
self.assertEqual(f1.attributes()[2], 'blah')
558+
self.assertEqual(f1.attributes()[3], QVariant())
559559

560560
# case insensitive
561561
fields2.append(QgsField('extra3', QVariant.String))

0 commit comments

Comments
 (0)
Please sign in to comment.