Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
[Test][Server] Enhance WMS GetPrint Selection
- Loading branch information
|
@@ -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 = {} |
|
|