Skip to content
Permalink
Browse files

Fix bad test

  • Loading branch information
nyalldawson committed Aug 25, 2018
1 parent d84252c commit f8f5fd1526173f4ea23c0fce8285d16e187863be
Showing with 2 additions and 1 deletion.
  1. +2 −1 tests/src/python/test_qgsfeaturesource.py
@@ -114,7 +114,8 @@ def testMaterialize(self):
request = QgsFeatureRequest().setFlags(QgsFeatureRequest.NoGeometry)
new_layer = layer.materialize(request)
self.assertEqual(new_layer.fields(), layer.fields())
self.assertEqual(new_layer.crs(), layer.crs())
self.assertFalse(new_layer.crs().isValid())
self.assertFalse(new_layer.isSpatial())
self.assertEqual(new_layer.featureCount(), 5)
self.assertEqual(new_layer.wkbType(), QgsWkbTypes.NoGeometry)
new_features = {f[0]: f for f in new_layer.getFeatures()}

0 comments on commit f8f5fd1

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