Permalink
Browse files

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
  • Loading branch information...
1 parent df1e505 commit fe7ccdc5bee76028a14f4afd2532f748253854a4 @PaulMcMillan PaulMcMillan committed Mar 2, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 tests/regressiontests/admin_scripts/tests.py
@@ -34,7 +34,8 @@ def write_settings(self, filename, apps=None, is_dir=False, sdict=None):
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):

0 comments on commit fe7ccdc

Please sign in to comment.