Skip to content

Commit

Permalink
Fixed #22490 -- removed obsolete ComplexFeed class from syndication_t…
Browse files Browse the repository at this point in the history
…ests

It was previously used in a test that was deprecated and then removed, this cruft can be removed now.
  • Loading branch information
nschlemm authored and timgraham committed May 16, 2014
1 parent 424fe76 commit 1ab278f
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
7 changes: 0 additions & 7 deletions tests/syndication_tests/feeds.py
Expand Up @@ -8,13 +8,6 @@
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.'
Expand Down
1 change: 0 additions & 1 deletion tests/syndication_tests/urls.py
Expand Up @@ -4,7 +4,6 @@


urlpatterns = [
url(r'^syndication/complex/(?P<foo>.*)/$', feeds.ComplexFeed()),
url(r'^syndication/rss2/$', feeds.TestRss2Feed()),
url(r'^syndication/rss2/guid_ispermalink_true/$',
feeds.TestRss2FeedWithGuidIsPermaLinkTrue()),
Expand Down

0 comments on commit 1ab278f

Please sign in to comment.