

def test_rss(self):
    import feedparser
    Listing.objects.all().update(category=self.category)
    url = reverse('home_rss_feed')
    c = self.client
    response = c.get(url)
    tools.assert_equals(200, response.status_code)
    d = feedparser.parse(self.content)
    tools.assert_equals(len(self.publishables), len(d['items']))

dataset/ETHPy150Open ella/ella/test_ella/test_core/test_feeds.py TestFeeds.test_rss/VarMisuse@69/82 `response`->`self`