Author: jacob
Date: 2008-08-26 16:30:15 -0500 (Tue, 26 Aug 2008)
New Revision: 8600

Modified:
   django/trunk/tests/regressiontests/comment_tests/tests/__init__.py
Log:
Updated comment tests to hook up URLs in the correct manner. This fixes a bunch 
of silly test failures.


Modified: django/trunk/tests/regressiontests/comment_tests/tests/__init__.py
===================================================================
--- django/trunk/tests/regressiontests/comment_tests/tests/__init__.py  
2008-08-26 20:51:45 UTC (rev 8599)
+++ django/trunk/tests/regressiontests/comment_tests/tests/__init__.py  
2008-08-26 21:30:15 UTC (rev 8600)
@@ -12,10 +12,8 @@
 # Helper base class for comment tests that need data.
 class CommentTestCase(TestCase):
     fixtures = ["comment_tests"]
+    urls = 'django.contrib.comments.urls'
 
-    def setUp(self):
-        settings.ROOT_URLCONF = "django.contrib.comments.urls"
-
     def createSomeComments(self):
         # Two anonymous comments on two different objects
         c1 = Comment.objects.create(


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to