Skip to content
Permalink
Browse files

PyQgsRasterLayer identify test fixed

  • Loading branch information
blazek committed Apr 8, 2013
1 parent a3de4c4 commit af980945641c37008b5735264698c027264f97f8
Showing with 1 addition and 1 deletion.
  1. +1 −1 tests/src/python/test_qgsrasterlayer.py
@@ -53,7 +53,7 @@ def testIdentify(self):
#print 'Extents: %s' % myRasterLayer.extent().toString()
#myResult, myRasterValues = myRasterLayer.identify(myPoint)
#assert myResult
myRasterValues = myRasterLayer.dataProvider().identify(myPoint, QgsRasterDataProvider.IdentifyFormatValue )
myRasterValues = myRasterLayer.dataProvider().identify(myPoint, QgsRasterDataProvider.IdentifyFormatValue ).results()

assert len( myRasterValues ) > 0

0 comments on commit af98094

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