Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed #5453 -- Fixed TEST_DATABASE_NAME handling to match documentati…

…on. Thanks, Matt Croydon.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@6186 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit b7df72083958122194740fdb5a9f7d4714114e37 1 parent ced90f4
@malcolmt malcolmt authored
Showing with 0 additions and 3 deletions.
  1. +0 −3  tests/runtests.py
View
3  tests/runtests.py
@@ -15,7 +15,6 @@
MODEL_TESTS_DIR_NAME = 'modeltests'
REGRESSION_TESTS_DIR_NAME = 'regressiontests'
-TEST_DATABASE_NAME = 'django_test_db'
TEST_TEMPLATE_DIR = 'templates'
CONTRIB_DIR = os.path.dirname(contrib.__file__)
@@ -97,7 +96,6 @@ def django_tests(verbosity, interactive, test_labels):
old_middleware_classes = settings.MIDDLEWARE_CLASSES
# Redirect some settings for the duration of these tests.
- settings.TEST_DATABASE_NAME = TEST_DATABASE_NAME
settings.INSTALLED_APPS = ALWAYS_INSTALLED_APPS
settings.ROOT_URLCONF = 'urls'
settings.TEMPLATE_DIRS = (os.path.join(os.path.dirname(__file__), TEST_TEMPLATE_DIR),)
@@ -150,7 +148,6 @@ def django_tests(verbosity, interactive, test_labels):
# Restore the old settings.
settings.INSTALLED_APPS = old_installed_apps
- settings.TESTS_DATABASE_NAME = old_test_database_name
settings.ROOT_URLCONF = old_root_urlconf
settings.TEMPLATE_DIRS = old_template_dirs
settings.USE_I18N = old_use_i18n
Please sign in to comment.
Something went wrong with that request. Please try again.