summaryrefslogtreecommitdiff
path: root/tests/syndication_tests
diff options
context:
space:
mode:
authorAnubhav Joshi <anubhav9042@gmail.com>2014-04-05 11:34:46 +0530
committerTim Graham <timograham@gmail.com>2014-04-06 17:33:43 -0400
commitcd914e31c9a889f18c50c15b4f6ee4959624001f (patch)
tree291036036473baaf6de621f66a6198ed4bc12451 /tests/syndication_tests
parentd2f4553d705951ca8043d687f9493c559f494a0c (diff)
downloaddjango-cd914e31c9a889f18c50c15b4f6ee4959624001f.tar.gz
Fixed #21977 -- Deprecated SimpleTestCase.urls
Diffstat (limited to 'tests/syndication_tests')
-rw-r--r--tests/syndication_tests/tests.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/syndication_tests/tests.py b/tests/syndication_tests/tests.py
index b5d1ec4bfc..ce70b038cd 100644
--- a/tests/syndication_tests/tests.py
+++ b/tests/syndication_tests/tests.py
@@ -10,7 +10,7 @@ except ImportError:
from django.contrib.syndication import views
from django.core.exceptions import ImproperlyConfigured
-from django.test import TestCase
+from django.test import TestCase, override_settings
from django.test.utils import requires_tz_support
from django.utils.feedgenerator import rfc2822_date, rfc3339_date
from django.utils import timezone
@@ -50,11 +50,11 @@ class FeedTestCase(TestCase):
######################################
+@override_settings(ROOT_URLCONF='syndication_tests.urls')
class SyndicationFeedTest(FeedTestCase):
"""
Tests for the high-level syndication feed framework.
"""
- urls = 'syndication_tests.urls'
def test_rss2_feed(self):
"""