Skip to content
Permalink
Browse files

fis old test that expected wrong value

Signed-off-by: Marco Bernasocchi <marco@opengis.ch>
  • Loading branch information
mbernasocchi committed Apr 12, 2019
1 parent 68cc88c commit 5376b975a61e6439941e7cd5e1976bf7075ffe73
Showing with 1 addition and 1 deletion.
  1. +1 −1 tests/src/python/test_qgsserver_wms_getmap.py
@@ -610,7 +610,7 @@ def test_wms_getmap_invalid_size(self):
"WIDTH": "5000"
}.items())])

expected = self.strip_version_xmlns(b'<ServiceExceptionReport version="1.3.0" xmlns="http://www.opengis.net/ogc">\n <ServiceException code="Size error">The requested map size is too large</ServiceException>\n</ServiceExceptionReport>\n')
expected = self.strip_version_xmlns(b'<ServiceExceptionReport version="1.3.0" xmlns="http://www.opengis.net/ogc">\n <ServiceException code="InvalidParameterValue">The requested map size is too large</ServiceException>\n</ServiceExceptionReport>\n')
r, h = self._result(self._execute_request(qs))

self.assertEqual(self.strip_version_xmlns(r), expected)

0 comments on commit 5376b97

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