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)
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)
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)
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)
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)
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)