Skip to content
Permalink
Browse files

Disable flaky test_wms_getprint_srs test

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 9c1e61d539cd0a26f8764ce179055246e39e60cf
Showing with 17 additions and 17 deletions.
  1. +17 −17 tests/src/python/test_qgsserver.py
@@ -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({

0 comments on commit 9c1e61d

Please sign in to comment.
You can’t perform that action at this time.