Skip to content
Permalink
Browse files

Fix tests

  • Loading branch information
m-kuhn committed Jun 2, 2017
1 parent 085a284 commit e3efc2c838642d0a9b8b60eef2aeb7f2a804c4a7
@@ -35,7 +35,7 @@
QgsField,
QgsFeature,
QgsGeometry,
QgsPointXY,
QgsPoint,
QgsLineString,
QgsWkbTypes,
QgsFields)
@@ -27,7 +27,7 @@

from qgis.core import (QgsApplication,
QgsWkbTypes,
QgsPointXY,
QgsPoint,
QgsCoordinateReferenceSystem,
QgsGeometry,
QgsProcessingUtils)
@@ -120,7 +120,7 @@ def processAlgorithm(self, context, feedback):
x = float(attrs[x_field_index])
y = float(attrs[y_field_index])

point = QgsPointXY(x, y)
point = QgsPoint(x, y)

if z_field_index is not None:
try:
@@ -14,7 +14,7 @@

import qgis # NOQA

from qgis.core import QgsRectangle, QgsPoint
from qgis.core import QgsRectangle, QgsPointXY

from qgis.testing import start_app, unittest
from utilities import compareWkt

0 comments on commit e3efc2c

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