Skip to content
Permalink
Browse files
[convert to curve] fix python test
  • Loading branch information
olivierdalang authored and nyalldawson committed Jun 18, 2021
1 parent 948bf2a commit 3a0510589203abfd63749233d5c2fa6908fb1c58
Showing with 2 additions and 2 deletions.
  1. +2 −2 tests/src/python/test_qgsgeometry.py
@@ -4580,8 +4580,8 @@ def testConvertVertex(self):

for wkt_before, wkt_expected in test_setup.items():
geom = QgsGeometry.fromWkt(wkt_before)
geom.convertVertex(geom.closestVertex(QgsPointXY(10, 10))[1])
self.assertTrue(QgsGeometry.equals(geom, QgsGeometry.fromWkt(wkt_expected)), f'convertVertex() did not create expected geometry.\nconverted wkt : {geom.asWkt()}\nexpected wkt : {wkt_expected}\ninput wkt : {wkt_before}).')
geom.toggleCircularAtVertex(geom.closestVertex(QgsPointXY(10, 10))[1])
self.assertTrue(QgsGeometry.equals(geom, QgsGeometry.fromWkt(wkt_expected)), f'toggleCircularAtVertex() did not create expected geometry.\nconverted wkt : {geom.asWkt()}\nexpected wkt : {wkt_expected}\ninput wkt : {wkt_before}).')

def testSingleSidedBuffer(self):

0 comments on commit 3a05105

Please sign in to comment.