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:
parent
384c48e456
commit
5f396193fb
|
@ -12,9 +12,7 @@ CT = ContentType.objects.get_for_model
|
||||||
# Helper base class for comment tests that need data.
|
# Helper base class for comment tests that need data.
|
||||||
class CommentTestCase(TestCase):
|
class CommentTestCase(TestCase):
|
||||||
fixtures = ["comment_tests"]
|
fixtures = ["comment_tests"]
|
||||||
|
urls = 'django.contrib.comments.urls'
|
||||||
def setUp(self):
|
|
||||||
settings.ROOT_URLCONF = "django.contrib.comments.urls"
|
|
||||||
|
|
||||||
def createSomeComments(self):
|
def createSomeComments(self):
|
||||||
# Two anonymous comments on two different objects
|
# Two anonymous comments on two different objects
|
||||||
|
|
Loading…
Reference in New Issue