diff options
author | Nikolaus Schlemm <capo@coder-nostra.com> | 2014-05-16 15:03:59 +0200 |
---|---|---|
committer | Tim Graham <timograham@gmail.com> | 2014-05-16 09:22:36 -0400 |
commit | 1ab278f39d9bec7d23adcd459c0028b176d073d4 (patch) | |
tree | d885c2f1019ad46e00957e94b3a07d01f863b042 /tests/syndication_tests | |
parent | 424fe76349a2e34eafef13c2450a7a1f4d3115a6 (diff) | |
download | django-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.py | 7 | ||||
-rw-r--r-- | tests/syndication_tests/urls.py | 1 |
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()), |