Skip to content

Commit

Permalink
Update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
pblottiere committed Sep 29, 2023
1 parent cc15284 commit 5620ed7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/src/python/test_qgspointcloudlayerprofilegenerator.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,9 @@ def testProfileGeneration(self):
req.setCrs(pcl.crs())
# zero tolerance => no points
generator = pcl.createProfileGenerator(req)
self.assertTrue(generator.generateProfile())
self.assertFalse(generator.generateProfile())
results = generator.takeResults()
self.assertFalse(results.distanceToHeightMap())
self.assertTrue(results is None)

req.setTolerance(0.05)
generator = pcl.createProfileGenerator(req)
Expand Down

0 comments on commit 5620ed7

Please sign in to comment.