Skip to content
Permalink
Browse files

[Test][Server] Enhance WMS GetPrint Selection

  • Loading branch information
rldhont authored and nyalldawson committed Jun 16, 2018
1 parent 336b660 commit 6d3199ff11019ccf1ae2becfd58352cbf5f9e7e6
@@ -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",
@@ -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 = {}
Binary file not shown.

0 comments on commit 6d3199f

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