diff --git a/tests/syndication_tests/feeds.py b/tests/syndication_tests/feeds.py index 2097cb62ad2..130fc9ee789 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 3e50c098b00..f92896f3083 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.*)/$', feeds.ComplexFeed()), url(r'^syndication/rss2/$', feeds.TestRss2Feed()), url(r'^syndication/rss2/guid_ispermalink_true/$', feeds.TestRss2FeedWithGuidIsPermaLinkTrue()),