Author: claudep
Date: 2012-03-17 10:44:42 -0700 (Sat, 17 Mar 2012)
New Revision: 17761
Modified:
django/trunk/tests/runtests.py
Log:
Do not unconditionally add extra_tests when testing geodjango.
Modified: django/trunk/tests/runtests.py
===================================================================
--- django/trunk/tests/runtests.py 2012-03-17 16:20:04 UTC (rev 17760)
+++ django/trunk/tests/runtests.py 2012-03-17 17:44:42 UTC (rev 17761)
@@ -152,7 +152,7 @@
# 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
extra_tests.append(geodjango_suite(apps=False))
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en.