Skip to content

Commit

Permalink
[Test][Server] Enhance WMS GetPrint Selection
Browse files Browse the repository at this point in the history
  • Loading branch information
rldhont authored and nyalldawson committed Jun 18, 2018
1 parent 336b660 commit 6d3199f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tests/src/python/test_qgsserver.py
Original file line number Diff line number Diff line change
Expand Up @@ -707,6 +707,7 @@ def test_wms_getprint_selection(self):
"REQUEST": "GetPrint",
"TEMPLATE": "layoutA4",
"FORMAT": "png",
"LAYERS": "Country,Hello",
"map0:EXTENT": "-33626185.498,-13032965.185,33978427.737,16020257.031",
"map0:LAYERS": "Country,Hello",
"HEIGHT": "500",
Expand Down Expand Up @@ -909,8 +910,8 @@ def test_wms_GetLegendGraphic_EmptyLegend(self):
"SCALE": "15466642"
}.items())])

r, h = self._result(self.server.handleRequest(qs) )
self.assertTrue( h['Content-Type'] == 'image/png' )
r, h = self._result(self.server.handleRequest(qs))
self.assertTrue(h['Content-Type'] == 'image/png')

def _result(self, data):
headers = {}
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 6d3199f

Please sign in to comment.