Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed #22490 -- removed obsolete ComplexFeed class from syndication_t…

…ests

It was previously used in a test that was deprecated and then removed, this cruft can be removed now.
  • Loading branch information...
commit 1ab278f39d9bec7d23adcd459c0028b176d073d4 1 parent 424fe76
@nschlemm nschlemm authored timgraham committed
View
7 tests/syndication_tests/feeds.py
@@ -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.'
View
1  tests/syndication_tests/urls.py
@@ -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()),
Please sign in to comment.
Something went wrong with that request. Please try again.