Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fix missing comma and dont make font settings on rule
  • Loading branch information
signedav authored and nyalldawson committed Apr 1, 2023
1 parent 2a720ae commit 67a7073
Showing 1 changed file with 3 additions and 15 deletions.
18 changes: 3 additions & 15 deletions tests/src/python/test_qgsserver_wms_getlegendgraphic.py
Expand Up @@ -929,13 +929,7 @@ def test_wms_GetLegendGraphic_MetersAtScaleSymbol_Rule(self):
"CRS": "EPSG:4326",
"WIDTH": "50",
"HEIGHT": "50",
"RULE": "two",
"LAYERFONTBOLD": "TRUE",
"LAYERFONTSIZE": "12",
"LAYERFONTFAMILY": self.fontFamily,
"ITEMFONTBOLD": "TRUE",
"ITEMFONTSIZE": "12",
"ITEMFONTFAMILY": self.fontFamily
"RULE": "two"
}.items())])

r, h = self._result(self._execute_request(qs))
Expand Down Expand Up @@ -995,13 +989,7 @@ def test_wms_GetLegendGraphic_MetersAtScaleSymbol_Rule_2056(self):
"CRS": "EPSG:2056",
"WIDTH": "50",
"HEIGHT": "50",
"RULE": "test",
"LAYERFONTBOLD": "TRUE",
"LAYERFONTSIZE": "12",
"LAYERFONTFAMILY": self.fontFamily,
"ITEMFONTBOLD": "TRUE",
"ITEMFONTSIZE": "12",
"ITEMFONTFAMILY": self.fontFamily
"RULE": "test"
}.items())])

r, h = self._result(self._execute_request(qs))
Expand Down Expand Up @@ -1069,7 +1057,7 @@ def test_wms_GetLegendGraphic_ITEMFONTCOLOR_and_LAYERFONTCOLOR(self):
"LAYERFONTFAMILY": self.fontFamily,
"ITEMFONTBOLD": "TRUE",
"ITEMFONTSIZE": "12",
"ITEMFONTFAMILY": self.fontFamily
"ITEMFONTFAMILY": self.fontFamily,
"ITEMFONTCOLOR": "red",
"LAYERFONTCOLOR": "blue"
}.items())])
Expand Down

0 comments on commit 67a7073

Please sign in to comment.