Exemplo n.º 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)
Exemplo n.º 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)
Exemplo n.º 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)
Exemplo n.º 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)
Exemplo n.º 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)
Exemplo n.º 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)