Skip to content
Permalink
Browse files

Fix a test under proj 6

(cherry picked from commit 526963e)
  • Loading branch information
nyalldawson committed Dec 13, 2019
1 parent 10850d7 commit f40fd49f5230027a8545d495de976d9603e3219a
Showing with 1 addition and 0 deletions.
  1. +1 −0 tests/src/python/test_qgsproject.py
@@ -1296,6 +1296,7 @@ def testTransformContextSignalIsEmitted(self):
spy = QSignalSpy(p.transformContextChanged)
ctx = QgsCoordinateTransformContext()
ctx.addSourceDestinationDatumTransform(QgsCoordinateReferenceSystem(4326), QgsCoordinateReferenceSystem(3857), 1234, 1235)
ctx.addCoordinateOperation(QgsCoordinateReferenceSystem(4326), QgsCoordinateReferenceSystem(3857), 'x')
p.setTransformContext(ctx)
self.assertEqual(len(spy), 1)

0 comments on commit f40fd49

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