mirror of
https://github.com/qgis/QGIS.git
synced 2025-03-04 00:30:59 -05:00
Autopep8
This commit is contained in:
parent
b77dc8b806
commit
28d682243f
@ -461,7 +461,6 @@ class TestQgsServerAccessControlWMS(TestQgsServerAccessControl):
|
|||||||
|
|
||||||
# # Subset String # #
|
# # Subset String # #
|
||||||
|
|
||||||
|
|
||||||
def test_wms_getmap_subsetstring(self):
|
def test_wms_getmap_subsetstring(self):
|
||||||
query_string = "&".join(["%s=%s" % i for i in list({
|
query_string = "&".join(["%s=%s" % i for i in list({
|
||||||
"MAP": urllib.parse.quote(self.projectPath),
|
"MAP": urllib.parse.quote(self.projectPath),
|
||||||
@ -924,9 +923,9 @@ class TestQgsServerAccessControlWMS(TestQgsServerAccessControl):
|
|||||||
def _gfi(restrict, layers):
|
def _gfi(restrict, layers):
|
||||||
qs = ("?SERVICE=WMS&VERSION=1.3.0&REQUEST=GetFeatureInfo&"
|
qs = ("?SERVICE=WMS&VERSION=1.3.0&REQUEST=GetFeatureInfo&"
|
||||||
+ "BBOX=612616,5810132,619259,5813237"
|
+ "BBOX=612616,5810132,619259,5813237"
|
||||||
+ "&CRS=EPSG:25832&WIDTH=2759&HEIGHT=1290&&STYLES="
|
+ "&CRS=EPSG:25832&WIDTH=2759&HEIGHT=1290&&STYLES="
|
||||||
+ "&FORMAT=application/json&QUERY_LAYERS=%s"
|
+ "&FORMAT=application/json&QUERY_LAYERS=%s"
|
||||||
+ "&INFO_FORMAT=application/json&I=508&J=560&FEATURE_COUNT=10" ) % layers
|
+ "&INFO_FORMAT=application/json&I=508&J=560&FEATURE_COUNT=10") % layers
|
||||||
if restrict:
|
if restrict:
|
||||||
qs = qs + "&LAYER_PERM=yes"
|
qs = qs + "&LAYER_PERM=yes"
|
||||||
request = QgsBufferServerRequest(qs)
|
request = QgsBufferServerRequest(qs)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user