summaryrefslogtreecommitdiff
path: root/tests/syndication_tests
diff options
context:
space:
mode:
authorNikolaus Schlemm <capo@coder-nostra.com>2014-05-16 15:03:59 +0200
committerTim Graham <timograham@gmail.com>2014-05-16 09:22:36 -0400
commit1ab278f39d9bec7d23adcd459c0028b176d073d4 (patch)
treed885c2f1019ad46e00957e94b3a07d01f863b042 /tests/syndication_tests
parent424fe76349a2e34eafef13c2450a7a1f4d3115a6 (diff)
downloaddjango-1ab278f39d9bec7d23adcd459c0028b176d073d4.tar.gz
Fixed #22490 -- removed obsolete ComplexFeed class from syndication_tests
It was previously used in a test that was deprecated and then removed, this cruft can be removed now.
Diffstat (limited to 'tests/syndication_tests')
-rw-r--r--tests/syndication_tests/feeds.py7
-rw-r--r--tests/syndication_tests/urls.py1
2 files changed, 0 insertions, 8 deletions
diff --git a/tests/syndication_tests/feeds.py b/tests/syndication_tests/feeds.py
index 2097cb62ad..130fc9ee78 100644
--- a/tests/syndication_tests/feeds.py
+++ b/tests/syndication_tests/feeds.py
@@ -8,13 +8,6 @@ from django.utils.timezone import get_fixed_timezone
from .models import Article, Entry
-class ComplexFeed(views.Feed):
- def get_object(self, request, foo=None):
- if foo is not None:
- raise ObjectDoesNotExist
- return None
-
-
class TestRss2Feed(views.Feed):
title = 'My blog'
description = 'A more thorough description of my blog.'
diff --git a/tests/syndication_tests/urls.py b/tests/syndication_tests/urls.py
index 3e50c098b0..f92896f308 100644
--- a/tests/syndication_tests/urls.py
+++ b/tests/syndication_tests/urls.py
@@ -4,7 +4,6 @@ from . import feeds
urlpatterns = [
- url(r'^syndication/complex/(?P<foo>.*)/$', feeds.ComplexFeed()),
url(r'^syndication/rss2/$', feeds.TestRss2Feed()),
url(r'^syndication/rss2/guid_ispermalink_true/$',
feeds.TestRss2FeedWithGuidIsPermaLinkTrue()),