'Testing GoogleMap.scripts() output. See #20773.'

@override_settings(GOOGLE_MAPS_API_KEY=GOOGLE_MAPS_API_KEY)
def test_google_map_scripts(self):

    from django.contrib.gis.maps.google.gmap import GoogleMap
    google_map = GoogleMap()
    scripts = google_map.scripts
    self.assertIn(GOOGLE_MAPS_API_KEY, scripts)
    self.assertIn('new    GMap2', scripts)
