Skip to content

Commit

Permalink
Updated geoadmin tests to reflect that OSM js is no longer required a…
Browse files Browse the repository at this point in the history
…s of r16847.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@16853 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information
jbronn committed Sep 18, 2011
1 parent d15ef45 commit e5aeba0
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions django/contrib/gis/tests/geoadmin/tests.py
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -8,7 +8,5 @@ class GeoAdminTest(TestCase):
def test01_ensure_geographic_media(self): def test01_ensure_geographic_media(self):
geoadmin = admin.site._registry[City] geoadmin = admin.site._registry[City]
admin_js = geoadmin.media.render_js() admin_js = geoadmin.media.render_js()
osm_url = geoadmin.extra_js[0]
self.assertTrue(any([geoadmin.openlayers_url in js for js in admin_js])) self.assertTrue(any([geoadmin.openlayers_url in js for js in admin_js]))
self.assertTrue(any([osm_url in js for js in admin_js]))


0 comments on commit e5aeba0

Please sign in to comment.