1
0
mirror of https://github.com/django/django.git synced 2025-07-04 01:39:20 +00:00

remove get_apps() call. the installed apps don't need to be loaded here, the testsuiterunner will take care of that

git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2010/app-loading@13385 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Arthur Koziel 2010-06-22 21:18:38 +00:00
parent 4e141dcaba
commit c362007099

View File

@ -114,11 +114,9 @@ def django_tests(verbosity, interactive, failfast, test_labels):
# in our tests.
settings.MANAGERS = ("admin@djangoproject.com",)
# Load all the ALWAYS_INSTALLED_APPS.
# (This import statement is intentionally delayed until after we
# access settings because of the USE_I18N dependency.)
from django.db.models.loading import get_apps, load_app
get_apps()
# This import statement is intentionally delayed until after we
# access settings because of the USE_I18N dependency.
from django.db.models.loading import load_app
# Load all the test model apps.
for model_dir, model_name in get_test_models():