Skip to content
Browse files
Add test for annotation item
  • Loading branch information
mhugent committed Jun 7, 2021
1 parent 8f6fec7 commit 30f915fb556a61cafbbbf6000d1382a5a1310bb8
@@ -1853,6 +1853,28 @@ def test_wms_getmap_plus_sign(self):
r, h = self._result(self._execute_request_project(qs, p))
self.assertTrue(b"The layer 'test plus' does not exist" in r)

def test_wms_annotation_item(self):
qs = "?" + "&".join(["%s=%s" % i for i in list({
"MAP": urllib.parse.quote(os.path.join(self.testdata_path,
"VERSION": "1.3.0",
"REQUEST": "GetMap",
"BBOX": "44.9014,8.20346,44.9015,8.20364",
"CRS": "EPSG:4326",
"WIDTH": "800",
"HEIGHT": "400",
"LAYERS": "points",
"STYLES": ",",
"FORMAT": "image/png",
"DPI": "96",
"FORMAT_OPTIONS": "dpi:96"

r, h = self._result(self._execute_request(qs))
self._img_diff_error(r, h, "WMS_GetMap_AnnotationItem")

if __name__ == '__main__':
Binary file not shown.
Binary file not shown.

0 comments on commit 30f915f

Please sign in to comment.