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.
This commit is contained in:
Nikolaus Schlemm 2014-05-16 15:03:59 +02:00 committed by Tim Graham
parent 424fe76349
commit 1ab278f39d
2 changed files with 0 additions and 8 deletions

View File

@ -8,13 +8,6 @@ from django.utils.timezone import get_fixed_timezone
from .models import Article, Entry 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): class TestRss2Feed(views.Feed):
title = 'My blog' title = 'My blog'
description = 'A more thorough description of my blog.' description = 'A more thorough description of my blog.'

View File

@ -4,7 +4,6 @@ from . import feeds
urlpatterns = [ urlpatterns = [
url(r'^syndication/complex/(?P<foo>.*)/$', feeds.ComplexFeed()),
url(r'^syndication/rss2/$', feeds.TestRss2Feed()), url(r'^syndication/rss2/$', feeds.TestRss2Feed()),
url(r'^syndication/rss2/guid_ispermalink_true/$', url(r'^syndication/rss2/guid_ispermalink_true/$',
feeds.TestRss2FeedWithGuidIsPermaLinkTrue()), feeds.TestRss2FeedWithGuidIsPermaLinkTrue()),