mirror of
https://github.com/django/django.git
synced 2025-11-13 17:09:28 +00:00
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
1 changed files with 1 additions and 3 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue