def test_wms_service(self): m = features.Map([40, -100], zoom_start=4) w = features.WmsTileLayer( "http://mesonet.agron.iastate.edu/cgi-bin/wms/nexrad/n0r.cgi", name='test', format='image/png', layers='nexrad-n0r-900913', attribution=u"Weather data © 2012 IEM Nexrad", transparent=True) w.add_to(m) m._repr_html_()
def test_wms_service(): m = Map([40, -100], zoom_start=4) url = 'http://mesonet.agron.iastate.edu/cgi-bin/wms/nexrad/n0r.cgi' w = features.WmsTileLayer(url, name='test', format='image/png', layers='nexrad-n0r-900913', attr=u"Weather data © 2012 IEM Nexrad", transparent=True) w.add_to(m) m._repr_html_() bounds = m.get_bounds() assert bounds == [[None, None], [None, None]], bounds