[processing] disable polygonize test, as it is not stable

This commit is contained in:
Alexander Bruy 2016-11-01 12:33:42 +02:00
parent 52e29b93b8
commit d08c02dbd0
2 changed files with 11 additions and 25 deletions

View File

@ -36,20 +36,6 @@ start_app()
class VectorTest(unittest.TestCase): class VectorTest(unittest.TestCase):
# URI from OGR provider
# URI from OGR provider
# URI from OGR provider
# URI from OGR provider
# URI from OGR provider
# URI from OGR provider
# URI from Sqlite provider
name = vector.ogrLayerName('dbname=\'/tmp/x.sqlite\' table="t" (geometry) sql=')
self.assertEqual(name, 't')
# URI from PostgreSQL provider
name = vector.ogrLayerName('port=5493 sslmode=disable key=\'edge_id\' srid=0 type=LineString table="city_data"."edge" (geom) sql=')
self.assertEqual(name, 'city_data.edge')
def testFeatures(self): def testFeatures(self):
ProcessingConfig.initialize() ProcessingConfig.initialize()

View File

@ -44,17 +44,17 @@ tests:
- 'Band 1 Block=16x14 Type=Float32, ColorInterp=Gray' - 'Band 1 Block=16x14 Type=Float32, ColorInterp=Gray'
- ' NoData Value=-32768' - ' NoData Value=-32768'
- algorithm: gdalogr:polygonize # - algorithm: gdalogr:polygonize
name: GDAL polygonize # name: GDAL polygonize
params: # params:
FIELD: DN # FIELD: DN
INPUT: # INPUT:
name: raster.tif # name: raster.tif
type: raster # type: raster
results: # results:
OUTPUT: # OUTPUT:
name: expected/gdal/polygonize.gml # name: expected/gdal/polygonize.gml
type: vector # type: vector
- algorithm: gdalogr:information - algorithm: gdalogr:information
name: GDAL ogrinfo name: GDAL ogrinfo