def test_rss_feed(self):
        response = self.client.get('/syndication/depr-feeds/rss/')
        doc = minidom.parseString(response.content)
        feed = doc.getElementsByTagName('rss')[0]
        self.assertEqual(feed.getAttribute('version'), '2.0')

        chan = feed.getElementsByTagName('channel')[0]
        self.assertChildNodes(chan, ['title', 'link', 'description', 'language', 'lastBuildDate', 'item', 'atom:link'])

        items = chan.getElementsByTagName('item')
        self.assertEqual(len(items), Entry.objects.count())
A simple test for Rss201rev2Feed feeds generated by the deprecated
dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.2/tests/regressiontests/syndication/tests.py/DeprecatedSyndicationFeedTest.test_rss_feed