@@ -184,6 +184,25 @@ def test_wms_getmap_basic(self):
184
184
r , h = self ._result (self ._execute_request (qs ))
185
185
self ._img_diff_error (r , h , "WMS_GetMap_Basic4" )
186
186
187
+ def test_wms_getmap_context_rendering (self ):
188
+ project = os .path .join (self .testdata_path , "test_project_render_context.qgs" )
189
+ qs = "?" + "&" .join (["%s=%s" % i for i in list ({
190
+ "MAP" : urllib .parse .quote (project ),
191
+ "SERVICE" : "WMS" ,
192
+ "VERSION" : "1.1.1" ,
193
+ "REQUEST" : "GetMap" ,
194
+ "LAYERS" : "points" ,
195
+ "STYLES" : "" ,
196
+ "FORMAT" : "image/png" ,
197
+ "BBOX" : "-119.8,20.4,-82.4,49.2" ,
198
+ "HEIGHT" : "500" ,
199
+ "WIDTH" : "500" ,
200
+ "CRS" : "EPSG:4326"
201
+ }.items ())])
202
+
203
+ r , h = self ._result (self ._execute_request (qs ))
204
+ self ._img_diff_error (r , h , "WMS_GetMap_ContextRendering" )
205
+
187
206
def test_wms_getmap_dpi (self ):
188
207
qs = "?" + "&" .join (["%s=%s" % i for i in list ({
189
208
"MAP" : urllib .parse .quote (self .projectPath ),
@@ -947,7 +966,7 @@ def test_wms_getmap_sld(self):
947
966
self ._img_diff_error (r , h , "WMS_GetMap_SLDRestored" )
948
967
949
968
def test_wms_getmap_group (self ):
950
- """A WMS shall render the requested layers by drawing the leftmost in the list
969
+ """A WMS shall render the requested layers by drawing the leftmost in the list
951
970
bottommost, the next one over that, and so on."""
952
971
953
972
qs = "?" + "&" .join (["%s=%s" % i for i in list ({
0 commit comments