summaryrefslogtreecommitdiff
path: root/tests/regressiontests/comment_tests
diff options
context:
space:
mode:
authorJacob Kaplan-Moss <jacob@jacobian.org>2008-08-26 21:30:15 +0000
committerJacob Kaplan-Moss <jacob@jacobian.org>2008-08-26 21:30:15 +0000
commit5f396193fb12d556cb70c702cddd28e295a5ed20 (patch)
treeb00f0143991a2d9cddbbee7b8ce327f46875eaf0 /tests/regressiontests/comment_tests
parent384c48e456611ff995f7928b87098716a8e6fbe4 (diff)
Updated comment tests to hook up URLs in the correct manner. This fixes a bunch of silly test failures.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8600 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'tests/regressiontests/comment_tests')
-rw-r--r--tests/regressiontests/comment_tests/tests/__init__.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/regressiontests/comment_tests/tests/__init__.py b/tests/regressiontests/comment_tests/tests/__init__.py
index ac460d4d0b..09026aa010 100644
--- a/tests/regressiontests/comment_tests/tests/__init__.py
+++ b/tests/regressiontests/comment_tests/tests/__init__.py
@@ -12,9 +12,7 @@ CT = ContentType.objects.get_for_model
# Helper base class for comment tests that need data.
class CommentTestCase(TestCase):
fixtures = ["comment_tests"]
-
- def setUp(self):
- settings.ROOT_URLCONF = "django.contrib.comments.urls"
+ urls = 'django.contrib.comments.urls'
def createSomeComments(self):
# Two anonymous comments on two different objects