Commit e57bedee authored by Carl Meyer's avatar Carl Meyer
Browse files

Fixed #17909 - ensure GeoDjango tests have the templates they need. Thanks...

Fixed #17909 - ensure GeoDjango tests have the templates they need. Thanks Nate Bragg for the report.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@17757 bcc190cf-cafb-0310-a4f2-bffc1f526a37
parent ddd53daf
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -117,6 +117,7 @@ def setup(verbosity, test_labels):
    if geodjango(settings):
        from django.contrib.gis.tests import geo_apps
        test_modules.extend(geo_apps(runtests=True))
        settings.INSTALLED_APPS.extend(['django.contrib.gis', 'django.contrib.sitemaps'])

    for module_dir, module_name in test_modules:
        module_label = '.'.join([module_dir, module_name])