Skip to content
Permalink
Browse files

Update unit test

  • Loading branch information
nyalldawson committed Dec 15, 2017
1 parent 13d1786 commit 43d8a6b5be753d45b8d2960a5b920de7e1e7e955
Showing with 1 addition and 1 deletion.
  1. +1 −1 tests/src/python/test_qgscoordinatetransform.py
@@ -55,7 +55,7 @@ def testTransformQgsRectangle_Regression17600(self):
myGeoCrs.createFromId(4326, QgsCoordinateReferenceSystem.EpsgCrsId)
myUtmCrs = QgsCoordinateReferenceSystem()
myUtmCrs.createFromId(3857, QgsCoordinateReferenceSystem.EpsgCrsId)
myXForm = QgsCoordinateTransform(myUtmCrs, myGeoCrs)
myXForm = QgsCoordinateTransform(myUtmCrs, myGeoCrs, QgsProject.instance())
myTransformedExtent = myXForm.transform(myExtent)
myTransformedExtentForward = myXForm.transform(myExtent, QgsCoordinateTransform.ForwardTransform)
self.assertAlmostEquals(myTransformedExtentForward.xMaximum(), myTransformedExtent.xMaximum())

0 comments on commit 43d8a6b

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