Skip to content

Commit 23d6ef6

Browse files
elpasonyalldawson
authored andcommitted
Remove test case (API is not public anymore)
1 parent 0d7841a commit 23d6ef6

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

tests/src/python/test_qgsvectorlayer.py

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,6 @@
5757
QgsTextFormat,
5858
QgsVectorLayerSelectedFeatureSource,
5959
QgsExpression,
60-
QgsCoordinateTransformContext,
6160
NULL)
6261
from qgis.gui import (QgsAttributeTableModel,
6362
QgsGui
@@ -3168,19 +3167,6 @@ def testMaximumValue(self):
31683167
pass
31693168

31703169

3171-
class TestQgsVectorLayerTransformContext(unittest.TestCase):
3172-
3173-
def testTransformContext(self):
3174-
vl = QgsVectorLayer(
3175-
'Point?crs=epsg:4326&field=pk:integer&field=cnt:integer&field=name:string(0)&field=name2:string(0)&field=num_char:string&key=pk',
3176-
'test', 'memory')
3177-
ctx = QgsCoordinateTransformContext()
3178-
ctx.addSourceDestinationDatumTransform(QgsCoordinateReferenceSystem(4326), QgsCoordinateReferenceSystem(3857), 1234, 1235)
3179-
vl.dataProvider().setTransformContext(ctx)
3180-
self.assertTrue(vl.isValid())
3181-
self.assertEqual(vl.transformContext(), vl.dataProvider().transformContext())
3182-
self.assertEqual(list(vl.transformContext().sourceDestinationDatumTransforms().keys())[0], ('EPSG:4326', 'EPSG:3857'))
3183-
31843170
# TODO:
31853171
# - fetch rect: feat with changed geometry: 1. in rect, 2. out of rect
31863172
# - more join tests

0 commit comments

Comments
 (0)