From eb23dc3644c2936c14998ee847e91aaccb331df7 Mon Sep 17 00:00:00 2001 From: Denis Rouzaud Date: Fri, 13 Sep 2024 12:48:29 +0200 Subject: [PATCH] BUFFER_SIZE_SCALE --- tests/src/python/test_qgsmapboxglconverter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/src/python/test_qgsmapboxglconverter.py b/tests/src/python/test_qgsmapboxglconverter.py index 7cdb6e8fb867..ad32fcbdba58 100644 --- a/tests/src/python/test_qgsmapboxglconverter.py +++ b/tests/src/python/test_qgsmapboxglconverter.py @@ -775,7 +775,7 @@ def testHaloMaxSize(self): if expected_size: f = labeling.labelSettings().format() buffer = f.buffer() - self.assertEqual(buffer.size(), expected_size) + self.assertEqual(buffer.size(), expected_size * BUFFER_SIZE_SCALE ) if expected_data_defined: self.assertEqual(labeling.labelSettings().dataDefinedProperties().property(QgsPalLayerSettings.Property.BufferSize).asExpression(), expected_data_defined)