diff --git a/bulbs/feeds/views.py b/bulbs/feeds/views.py index 2b7e2abd..d25ee780 100644 --- a/bulbs/feeds/views.py +++ b/bulbs/feeds/views.py @@ -60,4 +60,4 @@ def get_queryset(self): else: sc_ids = [] - return ContentListView.get_queryset(self).filter(Ids(values=sc_ids))[:self.paginate_by] + return super(RSSView, self).get_queryset().filter(Ids(values=sc_ids))[:self.paginate_by] diff --git a/tests/test_rss_feeds.py b/tests/test_rss_feeds.py index 998902bc..627b100b 100644 --- a/tests/test_rss_feeds.py +++ b/tests/test_rss_feeds.py @@ -59,7 +59,6 @@ def test_special_coverage_rss_feed(self): self.assertTrue("Content2" in response.content.decode('utf-8')) self.assertTrue("Content3" not in response.content.decode('utf-8')) - import pdb; pdb.set_trace() # test id w/ sc-rss-feed response = client.get("{0}?special_coverage_id={1}".format(sc_rss, sc.id)) self.assertEqual(response.status_code, 200)