summaryrefslogtreecommitdiff
path: root/tests/regressiontests/admin_scripts/tests.py
diff options
context:
space:
mode:
authorPaul McMillan <Paul@McMillan.ws>2012-03-02 03:42:20 +0000
committerPaul McMillan <Paul@McMillan.ws>2012-03-02 03:42:20 +0000
commitfe7ccdc5bee76028a14f4afd2532f748253854a4 (patch)
tree2d513d3a62b9d4379b3a563cfa44cab7f5456e89 /tests/regressiontests/admin_scripts/tests.py
parentdf1e505d9f99e557b22270365c90f9517a19bd27 (diff)
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
Diffstat (limited to 'tests/regressiontests/admin_scripts/tests.py')
-rw-r--r--tests/regressiontests/admin_scripts/tests.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/regressiontests/admin_scripts/tests.py b/tests/regressiontests/admin_scripts/tests.py
index dd7e4b3d15..74fb20f892 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):