From c36200709900aa8456e7604b5823bf99265903a4 Mon Sep 17 00:00:00 2001 From: Arthur Koziel Date: Tue, 22 Jun 2010 21:18:38 +0000 Subject: [PATCH] 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 --- tests/runtests.py | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/tests/runtests.py b/tests/runtests.py index 5585f75d5a..77bc1481d1 100755 --- a/tests/runtests.py +++ b/tests/runtests.py @@ -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():