The trickiest tests to move will be the gis tests.

When gis is enabled, django/contrib/gis/tests is added to the discovery 
path. This doesn't affect which tests are discovered per se--all gis tests 
are discovered anyway by discovery on the parent app 
django.contrib.gis--but it causes the later side-effect of 
django.contrib.gis.tests.geo3d, django.contrib.gis.tests.geoapp, etc. being 
added to INSTALLED_APPS during the test run. The purpose of this logic is 
to avoid running migrations when gis isn't enabled.

If the test apps stay as subdirectories in the gis test folder, runtests.py 
will need to be updated accordingly. If the namespace is made flat instead, 
we'd need to update runtests.py to do something like filter out gis_* apps 
from INSTALLED_APPS when not available.

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers  (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-developers+unsubscr...@googlegroups.com.
To post to this group, send email to django-developers@googlegroups.com.
Visit this group at http://groups.google.com/group/django-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-developers/5482299a-b900-49f0-ba4a-cf26dd1165fc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to