Adjust test

This commit is contained in:
Matthias Kuhn 2019-02-20 19:11:13 +01:00
parent 968e08c6c9
commit 9c0606148d
No known key found for this signature in database
GPG Key ID: 7A7F1A1C90C3E6A7

View File

@ -116,7 +116,7 @@ class TestQgsProcessingCheckValidity(unittest.TestCase):
self.assertEqual(invalid_layer.featureCount(), 1)
f = next(invalid_layer.getFeatures())
self.assertEqual(f.attributes(), [
1, 'segments 0 and 2 of line 0 intersect at 1, 1\nGeometry has 1 errors.'])
1, 'segments 0 and 2 of line 0 intersect at 1, 1'])
# GEOS method
parameters['METHOD'] = 2