@@ -153,17 +153,6 @@ def test_wms_getcapabilities_without_title(self):
153
153
# Empty title in project leads to a Layer element without Name, Title
154
154
# and Abstract tags. However, it should still have a CRS and a BBOX
155
155
# according to OGC specifications tests.
156
- project = os .path .join (self .testdata_path , "test_project_without_title.qgs" )
157
- qs = "?" + "&" .join (["%s=%s" % i for i in list ({
158
- "MAP" : urllib .parse .quote (project ),
159
- "SERVICE" : "WMS" ,
160
- "VERSION" : "1.3.0" ,
161
- "REQUEST" : "GetCapabilities" ,
162
- "STYLES" : ""
163
- }.items ())])
164
-
165
- r , h = self ._result (self ._execute_request (qs ))
166
-
167
156
self .wms_request_compare ('GetCapabilities' , reference_file = 'wms_getcapabilities_without_title' , project = 'test_project_without_title.qgs' )
168
157
169
158
def test_wms_getcapabilitie_empty_spatial_layer (self ):
@@ -182,7 +171,6 @@ def test_wms_getcapabilities_versions(self):
182
171
"REQUEST" : "GetCapabilities" ,
183
172
}.items ())])
184
173
185
- r , h = self ._result (self ._execute_request (qs ))
186
174
self .wms_request_compare (qs , reference_file = 'wms_getcapabilities_1_3_0' , version = '' )
187
175
188
176
# default version 1.3.0 when VERSION = 1.3.0 parameter
@@ -193,7 +181,6 @@ def test_wms_getcapabilities_versions(self):
193
181
"REQUEST" : "GetCapabilities" ,
194
182
}.items ())])
195
183
196
- r , h = self ._result (self ._execute_request (qs ))
197
184
self .wms_request_compare (qs , reference_file = 'wms_getcapabilities_1_3_0' , version = '1.3.0' )
198
185
199
186
# version 1.1.1
@@ -214,7 +201,6 @@ def test_wms_getcapabilities_versions(self):
214
201
"REQUEST" : "GetCapabilities" ,
215
202
}.items ())])
216
203
217
- r , h = self ._result (self ._execute_request (qs ))
218
204
self .wms_request_compare (qs , reference_file = 'wms_getcapabilities_1_3_0' , version = '33.33.33' )
219
205
220
206
def test_wms_getcapabilities_url (self ):
0 commit comments