Skip to content

Commit

Permalink
Disable flaky test_wms_getprint_srs test
Browse files Browse the repository at this point in the history
See https://travis-ci.org/qgis/QGIS/jobs/207575956 for an example of a
failing test.
  • Loading branch information
m-kuhn committed Mar 4, 2017
1 parent f11eb3d commit 9c1e61d
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions tests/src/python/test_qgsserver.py
Original file line number Diff line number Diff line change
Expand Up @@ -740,23 +740,23 @@ def test_wms_getprint_basic(self):
r, h = self._result(self.server.handleRequest(qs))
self._img_diff_error(r, h, "WMS_GetPrint_Basic")

def test_wms_getprint_srs(self):
qs = "&".join(["%s=%s" % i for i in list({
"MAP": urllib.parse.quote(self.projectPath),
"SERVICE": "WMS",
"VERSION": "1.1.1",
"REQUEST": "GetPrint",
"TEMPLATE": "layoutA4",
"FORMAT": "png",
"map0:EXTENT": "-309.015,-133.011,312.179,133.949",
"map0:LAYERS": "Country,Hello",
"HEIGHT": "500",
"WIDTH": "500",
"CRS": "EPSG:4326"
}.items())])

r, h = self._result(self.server.handleRequest(qs))
self._img_diff_error(r, h, "WMS_GetPrint_SRS")
# def test_wms_getprint_srs(self):
# qs = "&".join(["%s=%s" % i for i in list({
# "MAP": urllib.parse.quote(self.projectPath),
# "SERVICE": "WMS",
# "VERSION": "1.1.1",
# "REQUEST": "GetPrint",
# "TEMPLATE": "layoutA4",
# "FORMAT": "png",
# "map0:EXTENT": "-309.015,-133.011,312.179,133.949",
# "map0:LAYERS": "Country,Hello",
# "HEIGHT": "500",
# "WIDTH": "500",
# "CRS": "EPSG:4326"
# }.items())])
#
# r, h = self._result(self.server.handleRequest(qs))
# self._img_diff_error(r, h, "WMS_GetPrint_SRS")

def test_wms_getprint_scale(self):
qs = "&".join(["%s=%s" % i for i in list({
Expand Down

0 comments on commit 9c1e61d

Please sign in to comment.