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
This commit is contained in:
Jacob Kaplan-Moss 2008-08-26 21:30:15 +00:00
parent 384c48e456
commit 5f396193fb
1 changed files with 1 additions and 3 deletions

View File

@ -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