Skip to content

Commit c362007

Browse files
committed
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
1 parent 4e141dc commit c362007

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

tests/runtests.py

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -114,11 +114,9 @@ def django_tests(verbosity, interactive, failfast, test_labels):
114114
# in our tests.
115115
settings.MANAGERS = ("admin@djangoproject.com",)
116116

117-
# Load all the ALWAYS_INSTALLED_APPS.
118-
# (This import statement is intentionally delayed until after we
119-
# access settings because of the USE_I18N dependency.)
120-
from django.db.models.loading import get_apps, load_app
121-
get_apps()
117+
# This import statement is intentionally delayed until after we
118+
# access settings because of the USE_I18N dependency.
119+
from django.db.models.loading import load_app
122120

123121
# Load all the test model apps.
124122
for model_dir, model_name in get_test_models():

0 commit comments

Comments
 (0)