From 76fa5b08b254a3f7b63f2cf2839c830be2018860 Mon Sep 17 00:00:00 2001 From: Nyall Dawson Date: Thu, 25 Jan 2024 08:49:50 +1000 Subject: [PATCH] Update tests/src/python/test_qgssimplelinesymbollayer.py --- tests/src/python/test_qgssimplelinesymbollayer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/src/python/test_qgssimplelinesymbollayer.py b/tests/src/python/test_qgssimplelinesymbollayer.py index c781a99f5e10..2128907f1df7 100644 --- a/tests/src/python/test_qgssimplelinesymbollayer.py +++ b/tests/src/python/test_qgssimplelinesymbollayer.py @@ -341,7 +341,7 @@ def testAlignDashRenderSmallWidth(self): g = QgsGeometry.fromWkt('LineString(0 0, 9.2 0, 9.2 10, 1.3 10)') rendered_image = self.renderGeometry(s, g) - assert self.imageCheck('simpleline_aligndashpattern_small_width', 'simpleline_aligndashpattern_small_width', rendered_image) + self.assertTrue(self.image_check('simpleline_aligndashpattern_small_width', 'simpleline_aligndashpattern_small_width', rendered_image)) def testRingNumberVariable(self): # test test geometry_ring_num variable