Updated geoadmin tests to reflect that OSM js is no longer required as of r16847.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@16853 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Justin Bronn 2011-09-18 22:28:17 +00:00
parent d15ef4532e
commit e5aeba018f
1 changed files with 0 additions and 2 deletions

View File

@ -8,7 +8,5 @@ class GeoAdminTest(TestCase):
def test01_ensure_geographic_media(self):
geoadmin = admin.site._registry[City]
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([osm_url in js for js in admin_js]))