summaryrefslogtreecommitdiff
path: root/tests/regressiontests/comment_tests
diff options
context:
space:
mode:
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