Skip to content
Permalink
Browse files

fix tests

  • Loading branch information
signedav committed Apr 11, 2019
1 parent 7f7d910 commit 755c8ff36d6b0f85386bdc9537c286371f441b5c
Showing with 2 additions and 3 deletions.
  1. +2 −3 tests/src/python/test_qgsserver_wms_getlegendgraphic.py
@@ -692,8 +692,8 @@ def test_wms_GetLegendGraphic_ScaleSymbol_Max(self):
self._img_diff_error(r, h, "WMS_GetLegendGraphic_ScaleSymbol_Max", max_size_diff=QSize(15, 15))

def test_wms_GetLegendGraphic_ScaleSymbol_DefaultMapUnitsPerMillimeter(self):
# 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
qs = "?" + "&".join(["%s=%s" % i for i in list({
# 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
qs = "?" + "&".join(["%s=%s" % i for i in list({
"MAP": self.testdata_path + 'test_project_scaledsymbols.qgs',
"SERVICE": "WMS",
"REQUEST": "GetLegendGraphic",
@@ -705,7 +705,6 @@ def test_wms_GetLegendGraphic_ScaleSymbol_DefaultMapUnitsPerMillimeter(self):
r, h = self._result(self._execute_request(qs))
self._img_diff_error(r, h, "WMS_GetLegendGraphic_ScaleSymbol_DefaultMapUnitsPerMillimeter", max_size_diff=QSize(15, 15))


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

0 comments on commit 755c8ff

Please sign in to comment.
You can’t perform that action at this time.