Пример #1
0
 def test_110_capa(self):
     resp = self.app.get("/service?request=GetCapabilities&service=WMS&version=1.1.0")
     xml = resp.lxml
     assert is_110_capa(xml)
     self._check_layernames(xml)
Пример #2
0
 def test_110_capa(self):
     resp = self.app.get(
         "/service?request=GetCapabilities&service=WMS&version=1.1.0")
     xml = resp.lxml
     assert is_110_capa(xml)
     self._check_layernames(xml)
Пример #3
0
 def test_unknown_version_090(self):
     resp = self.app.get('http://localhost/service?SERVICE=WMS&REQUEST=GetCapabilities'
                         '&WMTVER=0.9.0')
     assert is_110_capa(resp.lxml)
Пример #4
0
 def test_supported_version_110(self):
     resp = self.app.get('http://localhost/service?SERVICE=WMS&REQUEST=GetCapabilities'
                         '&VERSION=1.1.0')
     assert is_110_capa(resp.lxml)
Пример #5
0
 def test_unknown_version_090(self, app):
     resp = app.get(
         "http://localhost/service?SERVICE=WMS&REQUEST=GetCapabilities"
         "&WMTVER=0.9.0"
     )
     assert is_110_capa(resp.lxml)
Пример #6
0
 def test_supported_version_110(self, app):
     resp = app.get(
         "http://localhost/service?SERVICE=WMS&REQUEST=GetCapabilities"
         "&VERSION=1.1.0"
     )
     assert is_110_capa(resp.lxml)