Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Another attempt to fix test
  • Loading branch information
nyalldawson committed Apr 2, 2020
1 parent e5c533a commit 196e68d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/src/python/test_qgsxmlutils.py
Expand Up @@ -261,7 +261,9 @@ def test_feature_source_definition(self):
self.assertEqual(c.source.staticValue(), 'my source')
self.assertTrue(c.selectedFeaturesOnly)
self.assertEqual(c.featureLimit, 27)
self.assertEqual(int(c.flags), int(QgsProcessingFeatureSourceDefinition.Flag.FlagCreateIndividualOutputPerInputFeature.value))
self.assertTrue(c.flags & QgsProcessingFeatureSourceDefinition.Flag.FlagCreateIndividualOutputPerInputFeature.value)
self.assertFalse(
c.flags & QgsProcessingFeatureSourceDefinition.Flag.FlagOverrideDefaultGeometryCheck.value)
self.assertEqual(c.geometryCheck, QgsFeatureRequest.GeometrySkipInvalid)

def test_output_layer_definition(self):
Expand Down

0 comments on commit 196e68d

Please sign in to comment.