From fe7ccdc5bee76028a14f4afd2532f748253854a4 Mon Sep 17 00:00:00 2001 From: Paul McMillan Date: Fri, 2 Mar 2012 03:42:20 +0000 Subject: [PATCH] Fixed test cases that generate their own settings file. Now they include SECRET_KEY. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17615 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- tests/regressiontests/admin_scripts/tests.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/regressiontests/admin_scripts/tests.py b/tests/regressiontests/admin_scripts/tests.py index dd7e4b3d15e..74fb20f892b 100644 --- a/tests/regressiontests/admin_scripts/tests.py +++ b/tests/regressiontests/admin_scripts/tests.py @@ -34,7 +34,8 @@ class AdminScriptTestCase(unittest.TestCase): settings_file.write('# Settings file automatically generated by regressiontests.admin_scripts test case\n') exports = [ 'DATABASES', - 'ROOT_URLCONF' + 'ROOT_URLCONF', + 'SECRET_KEY', ] for s in exports: if hasattr(settings, s):