From 5f396193fb12d556cb70c702cddd28e295a5ed20 Mon Sep 17 00:00:00 2001 From: Jacob Kaplan-Moss Date: Tue, 26 Aug 2008 21:30:15 +0000 Subject: [PATCH] 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 --- tests/regressiontests/comment_tests/tests/__init__.py | 4 +--- 1 file changed, 1 insertion(+), 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