Skip to content

Commit

Permalink
test server rendering debian buster bug #18988
Browse files Browse the repository at this point in the history
  • Loading branch information
tudorbarascu committed Nov 16, 2018
1 parent 97979e6 commit a4fee1b
Show file tree
Hide file tree
Showing 4 changed files with 1,487 additions and 969 deletions.
18 changes: 18 additions & 0 deletions tests/src/python/test_qgsserver_wms_getmap.py
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,24 @@ def test_wms_getmap_basic(self):
r, h = self._result(self._execute_request(qs))
self._img_diff_error(r, h, "WMS_GetMap_Basic4")

def test_wms_getmap_complex_labeling(self):
qs = "?" + "&".join(["%s=%s" % i for i in list({
"MAP": urllib.parse.quote(self.projectPath),
"SERVICE": "WMS",
"VERSION": "1.1.1",
"REQUEST": "GetMap",
"LAYERS": "pointlabel",
"STYLES": "",
"FORMAT": "image/png",
"BBOX": "-16817707,-4710778,5696513,14587125",
"HEIGHT": "500",
"WIDTH": "500",
"CRS": "EPSG:3857"
}.items())])

r, h = self._result(self._execute_request(qs))
self._img_diff_error(r, h, "WMS_GetMap_Labeling_Complex")

def test_wms_getmap_context_rendering(self):
project = os.path.join(self.testdata_path, "test_project_render_context.qgs")
qs = "?" + "&".join(["%s=%s" % i for i in list({
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading

0 comments on commit a4fee1b

Please sign in to comment.