Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Do not unconditionally add extra_tests when testing geodjango.

git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit f0b9bb2ef958052ab9c9b414dbcfa653eca7b83e 1 parent 6974886
@claudep claudep authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  tests/
2  tests/
@@ -152,7 +152,7 @@ def django_tests(verbosity, interactive, failfast, test_labels):
# If GeoDjango is used, add it's tests that aren't a part of
# an application (e.g., GEOS, GDAL, Distance objects).
- if geodjango(settings):
+ if geodjango(settings) and (not test_labels or 'gis' in test_labels):
from django.contrib.gis.tests import geodjango_suite
Please sign in to comment.
Something went wrong with that request. Please try again.