Skip to content
Permalink
Browse files

Update unit test

  • Loading branch information
pblottiere committed Sep 27, 2018
1 parent f74f785 commit 210a1fe1e7b8f3bd47199175e08e309a003973af
Showing with 1 addition and 2 deletions.
  1. +1 −2 tests/src/python/test_qgsserver_wms_getmap.py
@@ -1064,7 +1064,6 @@ def test_wms_getmap_highlight_point(self):
self._img_diff_error(r, h, "WMS_GetMap_Highlight_Point")

# TODO make Server Getmap work with SLD Highlight feature and enable test
@unittest.expectedFailure
def test_wms_getmap_highlight_line(self):
# checks SLD stroke-width works for Lines See issue 19795 comments
qs = "?" + "&".join(["%s=%s" % i for i in list({
@@ -1074,7 +1073,7 @@ def test_wms_getmap_highlight_line(self):
"REQUEST": "GetMap",
"LAYERS": "Country_Labels",
"HIGHLIGHT_GEOM": "LINESTRING(-15000000 8055310, 2500000 8055310)",
"HIGHLIGHT_SYMBOL": "<?xml version=\"1.0\" encoding=\"UTF-8\"?><StyledLayerDescriptor xmlns=\"http://www.opengis.net/sld\" xmlns:ogc=\"http://www.opengis.net/ogc\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" version=\"1.1.0\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" xsi:schemaLocation=\"http://www.opengis.net/sld http://schemas.opengis.net/sld/1.1.0/StyledLayerDescriptor.xsd\" xmlns:se=\"http://www.opengis.net/se\"><UserStyle><se:FeatureTypeStyle><se:Rule><se:LineSymbolizer><se:Stroke><se:SvgParameter name=\"stroke\">%23ff0000</se:SvgParameter><se:SvgParameter name=\"stroke-opacity\">1</se:SvgParameter><se:SvgParameter name=\"stroke-width\">17.3</se:SvgParameter><se:SvgParameter name=\"stroke-linejoin\">bevel</se:SvgParameter></se:Stroke></se:LineSymbolizer></se:Rule></se:FeatureTypeStyle></UserStyle></StyledLayerDescriptor>",
"HIGHLIGHT_SYMBOL": "<?xml version=\"1.0\" encoding=\"UTF-8\"?><StyledLayerDescriptor xmlns=\"http://www.opengis.net/sld\" xmlns:ogc=\"http://www.opengis.net/ogc\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" version=\"1.1.0\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" xsi:schemaLocation=\"http://www.opengis.net/sld http://schemas.opengis.net/sld/1.1.0/StyledLayerDescriptor.xsd\" xmlns:se=\"http://www.opengis.net/se\"><UserStyle><se:FeatureTypeStyle><se:Rule><se:LineSymbolizer><se:Stroke><se:SvgParameter name=\"stroke\">%23ff0000</se:SvgParameter><se:SvgParameter name=\"stroke-opacity\">1</se:SvgParameter><se:SvgParameter name=\"stroke-width\">17.3</se:SvgParameter><se:SvgParameter name=\"stroke-linecap\">round</se:SvgParameter></se:Stroke></se:LineSymbolizer></se:Rule></se:FeatureTypeStyle></UserStyle></StyledLayerDescriptor>",
"HIGHLIGHT_LABELSTRING": "",
"HIGHLIGHT_LABELSIZE": "10",
"HIGHLIGHT_LABELCOLOR": "black",

0 comments on commit 210a1fe

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