Commit 5f396193 authored by Jacob Kaplan-Moss's avatar Jacob Kaplan-Moss
Browse files

Updated comment tests to hook up URLs in the correct manner. This fixes a...

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
parent 384c48e4
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -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