From 5620ed79b1aee3699826e02e84cb0fc53b50f88d Mon Sep 17 00:00:00 2001 From: Blottiere Paul Date: Fri, 29 Sep 2023 15:23:10 +0200 Subject: [PATCH] Update tests --- tests/src/python/test_qgspointcloudlayerprofilegenerator.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/src/python/test_qgspointcloudlayerprofilegenerator.py b/tests/src/python/test_qgspointcloudlayerprofilegenerator.py index bad06e4ded0b..7dc6b4a7a989 100644 --- a/tests/src/python/test_qgspointcloudlayerprofilegenerator.py +++ b/tests/src/python/test_qgspointcloudlayerprofilegenerator.py @@ -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)