Skip to content

Commit fab5254

Browse files
committed
using correct pictures and additional comments
1 parent fa8e5fa commit fab5254

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

tests/src/python/test_qgsserver_wms_getlegendgraphic.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -706,7 +706,7 @@ def test_wms_GetLegendGraphic_ScaleSymbol_DefaultMapUnitsPerMillimeter(self):
706706
self._img_diff_error(r, h, "WMS_GetLegendGraphic_ScaleSymbol_DefaultMapUnitsPerMillimeter", max_size_diff=QSize(15, 15))
707707

708708
def test_wms_GetLegendGraphic_ScaleSymbol_Scaled_2056(self):
709-
# 1:1000 scale on an EPSG:2056
709+
# 1:1000 scale on an EPSG:2056 calculating DPI that is around 96
710710
qs = "?" + "&".join(["%s=%s" % i for i in list({
711711
"MAP": self.testdata_path + 'test_project_scaledsymbols_2056.qgs',
712712
"SERVICE": "WMS",
@@ -723,7 +723,7 @@ def test_wms_GetLegendGraphic_ScaleSymbol_Scaled_2056(self):
723723
self._img_diff_error(r, h, "WMS_GetLegendGraphic_ScaleSymbol_Scaled_2056", max_size_diff=QSize(15, 15))
724724

725725
def test_wms_GetLegendGraphic_ScaleSymbol_DefaultScale_2056(self):
726-
# 1:1000 as default value - it's not exactly the same result than passing the bbox and size
726+
# 1:1000 as default value - it's not exactly the same result than passing the bbox and size because of exact DPI 96 (default)
727727
qs = "?" + "&".join(["%s=%s" % i for i in list({
728728
"MAP": self.testdata_path + 'test_project_scaledsymbols_2056.qgs',
729729
"SERVICE": "WMS",

0 commit comments

Comments
 (0)