def test_rss2_feed_guid_permalink_false(self):
        response = self.client.get(
            '/syndication/rss2/guid_ispermalink_false/')
        doc = minidom.parseString(response.content)
        chan = doc.getElementsByTagName(
            'rss')[0].getElementsByTagName('channel')[0]
        items = chan.getElementsByTagName('item')
        for item in items:
            self.assertEqual(
                item.getElementsByTagName('guid')[0].attributes.get(
                    'isPermaLink').value, "false")
Test if the 'isPermaLink' attribute of <guid> element of an item
dataset/ETHPy150Open django/django/tests/syndication_tests/tests.py/SyndicationFeedTest.test_rss2_feed_guid_permalink_false