Skip to content
Permalink
Browse files

No need to compare result from GDAL contour alg -- we already have lo…

…ts of tests covering the creation

of the matching GDAL command, and we can trust that GDAL will generate contours correctly

Avoids fragility in the test when underlying GDAL contour algorithm/logic changes
  • Loading branch information
nyalldawson committed Feb 8, 2021
1 parent 8730268 commit 735c62d93b311e9630dd53b15cfaf28e369c8c86
Showing with 1 addition and 1 deletion.
  1. +1 −1 python/plugins/processing/tests/testdata/gdal_algorithm_raster_tests.yaml
@@ -111,7 +111,6 @@ tests:
BAND: 1
CREATE_3D: false
FIELD_NAME: ELEV
CREATE_3D: true
IGNORE_NODATA: false
INPUT:
name: dem.tif
@@ -123,6 +122,7 @@ tests:
OUTPUT:
name: expected/gdal/contour.gml
type: vector
compare: False

- algorithm: gdal:extractprojection
name: Extract Projection (extractprojection)

0 comments on commit 735c62d

Please sign in to comment.