Skip to content

Commit 755c8ff

Browse files
committedApr 11, 2019
fix tests
1 parent 7f7d910 commit 755c8ff

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed
 

‎tests/src/python/test_qgsserver_wms_getlegendgraphic.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -692,8 +692,8 @@ def test_wms_GetLegendGraphic_ScaleSymbol_Max(self):
692692
self._img_diff_error(r, h, "WMS_GetLegendGraphic_ScaleSymbol_Max", max_size_diff=QSize(15, 15))
693693

694694
def test_wms_GetLegendGraphic_ScaleSymbol_DefaultMapUnitsPerMillimeter(self):
695-
# map units per mm on 1:20000000 with SRCHEIGHT=598&SRCWIDTH=1640&BBOX=16.5,-69.7,73.3,86.1 would be arround what is set as default: 0.359 map units per mm
696-
qs = "?" + "&".join(["%s=%s" % i for i in list({
695+
# map units per mm on 1:20000000 with SRCHEIGHT=598&SRCWIDTH=1640&BBOX=16.5,-69.7,73.3,86.1 would be around what is set as default: 0.359 map units per mm
696+
qs = "?" + "&".join(["%s=%s" % i for i in list({
697697
"MAP": self.testdata_path + 'test_project_scaledsymbols.qgs',
698698
"SERVICE": "WMS",
699699
"REQUEST": "GetLegendGraphic",
@@ -705,7 +705,6 @@ def test_wms_GetLegendGraphic_ScaleSymbol_DefaultMapUnitsPerMillimeter(self):
705705
r, h = self._result(self._execute_request(qs))
706706
self._img_diff_error(r, h, "WMS_GetLegendGraphic_ScaleSymbol_DefaultMapUnitsPerMillimeter", max_size_diff=QSize(15, 15))
707707

708-
709708
def test_wms_GetLegendGraphic_ScaleSymbol_Scaled_2056(self):
710709
# 1:1000 scale on an EPSG:2056
711710
qs = "?" + "&".join(["%s=%s" % i for i in list({

0 commit comments

Comments
 (0)