def geodjango(settings):
    # All databases must have spatial backends to run GeoDjango tests.
    spatial_dbs = [name for name, db_dict in settings.DATABASES.items()
                   if db_dict['ENGINE'].startswith('django.contrib.gis')]
    return len(spatial_dbs) == len(settings.DATABASES)
dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.5/tests/runtests.py/geodjango/original