Skip to content
Permalink
Browse files

Remove test for legend label if layertitle is off and rulelabel not set

  • Loading branch information
uprel committed May 3, 2020
1 parent 3f826b2 commit f5294dbe41314eec2ba269b2b318ebe1a70ca777
Showing with 0 additions and 20 deletions.
  1. +0 −20 tests/src/python/test_qgsserver_wms_getlegendgraphic.py
@@ -260,26 +260,6 @@ def test_wms_getLegendGraphics_rulelabel(self):
r, h = self._result(self._execute_request(qs))
self._img_diff_error(r, h, "WMS_GetLegendGraphic_rulelabel_true", 250, QSize(15, 15))

# no set of RULELABEL means it is true
parms = {
'MAP': self.testdata_path + "test_project.qgs",
'SERVICE': 'WMS',
'VERSION': '1.3.0',
'REQUEST': 'GetLegendGraphic',
'FORMAT': 'image/png',
'LAYER': u'testlayer%20èé',
'LAYERFONTBOLD': 'TRUE',
'LAYERFONTSIZE': '30',
'ITEMFONTBOLD': 'TRUE',
'ITEMFONTSIZE': '20',
'LAYERFONTFAMILY': self.fontFamily,
'ITEMFONTFAMILY': self.fontFamily,
'LAYERTITLE': 'FALSE'
}
qs = '?' + '&'.join([u"%s=%s" % (k, v) for k, v in parms.items()])
r, h = self._result(self._execute_request(qs))
self._img_diff_error(r, h, "WMS_GetLegendGraphic_rulelabel_true", 250, QSize(15, 15))

def test_wms_getLegendGraphics_rule(self):
"""Test that does not return an exception but an image"""
parms = {

0 comments on commit f5294db

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