Permalink
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...
1 parent 384c48e commit 5f396193fb12d556cb70c702cddd28e295a5ed20 @jacobian jacobian committed Aug 26, 2008
Showing with 1 addition and 3 deletions.
  1. +1 −3 tests/regressiontests/comment_tests/tests/__init__.py
View
4 tests/regressiontests/comment_tests/tests/__init__.py
@@ -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

0 comments on commit 5f39619

Please sign in to comment.