summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMalcolm Tredinnick <malcolm.tredinnick@gmail.com>2008-08-30 05:09:03 +0000
committerMalcolm Tredinnick <malcolm.tredinnick@gmail.com>2008-08-30 05:09:03 +0000
commitc0b53b3dcc817aa6522b4477f009e7c3bb83ae2e (patch)
treebccb5e82f148b1078653e66ab950c13c24b2c831 /tests
parentfd0cc45828e11e5e8936817e7a76c6bd5a8d0460 (diff)
Removed the need for ROOT_URLCONF in settings when running Django's core tests
(via runtests.py). It was embarrassing having to explain the need for it to people, since we ignore whatever setting is passed in. git-svn-id: http://code.djangoproject.com/svn/django/trunk@8731 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'tests')
-rwxr-xr-xtests/runtests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/runtests.py b/tests/runtests.py
index ee7b1a5cda..dc0f9df63c 100755
--- a/tests/runtests.py
+++ b/tests/runtests.py
@@ -90,7 +90,7 @@ def django_tests(verbosity, interactive, test_labels):
old_installed_apps = settings.INSTALLED_APPS
old_test_database_name = settings.TEST_DATABASE_NAME
- old_root_urlconf = settings.ROOT_URLCONF
+ old_root_urlconf = getattr(settings, "ROOT_URLCONF", "")
old_template_dirs = settings.TEMPLATE_DIRS
old_use_i18n = settings.USE_I18N
old_login_url = settings.LOGIN_URL