Skip to content

Commit

Permalink
PyQgsRasterLayer identify test fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
blazek committed Apr 8, 2013
1 parent a3de4c4 commit af98094
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/src/python/test_qgsrasterlayer.py
Expand Up @@ -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

Expand Down

0 comments on commit af98094

Please sign in to comment.