Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Updated comment tests to hook up URLs in the correct manner. This fix…

…es a bunch of silly test failures.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@8600 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 5f396193fb12d556cb70c702cddd28e295a5ed20 1 parent 384c48e
Jacob Kaplan-Moss jacobian authored
Showing with 1 addition and 3 deletions.
  1. +1 −3 tests/regressiontests/comment_tests/tests/__init__.py
4 tests/regressiontests/comment_tests/tests/__init__.py
View
@@ -12,9 +12,7 @@
# 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
Please sign in to comment.
Something went wrong with that request. Please try again.