summaryrefslogtreecommitdiff
path: root/tests/regressiontests/comment_tests
diff options
context:
space:
mode:
authorMalcolm Tredinnick <malcolm.tredinnick@gmail.com>2009-03-02 04:48:22 +0000
committerMalcolm Tredinnick <malcolm.tredinnick@gmail.com>2009-03-02 04:48:22 +0000
commitcf3071242a289e20526ade81021b1f895fde706d (patch)
treeaaf91d5c55097ac9d98050f62e22222e7e7f5ff5 /tests/regressiontests/comment_tests
parentec710220dd347ed362a0a535d6a848e906d102e9 (diff)
Factor out some common pieces of django.conf.LazySettings.
This is in preparation for some reuse elsewhere in the core code. git-svn-id: http://code.djangoproject.com/svn/django/trunk@9945 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'tests/regressiontests/comment_tests')
-rw-r--r--tests/regressiontests/comment_tests/tests/app_api_tests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/regressiontests/comment_tests/tests/app_api_tests.py b/tests/regressiontests/comment_tests/tests/app_api_tests.py
index 6a9eb1c637..c4d9ebfef3 100644
--- a/tests/regressiontests/comment_tests/tests/app_api_tests.py
+++ b/tests/regressiontests/comment_tests/tests/app_api_tests.py
@@ -41,7 +41,7 @@ class CustomCommentTest(CommentTestCase):
del settings.INSTALLED_APPS[-1]
settings.COMMENTS_APP = self.old_comments_app
if settings.COMMENTS_APP is None:
- delattr(settings._target, 'COMMENTS_APP')
+ delattr(settings._wrapped, 'COMMENTS_APP')
def testGetCommentApp(self):
from regressiontests.comment_tests import custom_comments