1
0
mirror of https://github.com/django/django.git synced 2025-01-27 10:39:40 +00:00

Updated WMS URL in geoadmin test.

This commit is contained in:
Claude Paroz 2012-05-26 00:02:15 +02:00
parent 45284a90a5
commit c2139bbcef

View File

@ -31,5 +31,5 @@ class GeoAdminTest(TestCase):
result = geoadmin.get_map_widget(City._meta.get_field('point'))(
).render('point', Point(-79.460734, 40.18476))
self.assertIn(
"""geodjango_point.layers.base = new OpenLayers.Layer.WMS("OpenLayers WMS", "http://labs.metacarta.com/wms/vmap0", {layers: \'basic\', format: 'image/jpeg'});""",
"""geodjango_point.layers.base = new OpenLayers.Layer.WMS("OpenLayers WMS", "http://vmap0.tiles.osgeo.org/wms/vmap0", {layers: \'basic\', format: 'image/jpeg'});""",
result)