def test_feed_url(self):
    '\n        Test that the feed_url can be overridden.\n        '
    response = self.client.get('/syndication/feedurl/')
    doc = minidom.parseString(response.content)
    for link in doc.getElementsByTagName('link'):
        if (link.getAttribute('rel') == 'self'):
            self.assertEqual(link.getAttribute('href'), 'http://example.com/customfeedurl/')
Test that the feed_url can be overridden.
def test_feed_url(self):
    '\n        \n        '
    response = self.client.get('/syndication/feedurl/')
    doc = minidom.parseString(response.content)
    for link in doc.getElementsByTagName('link'):
        if (link.getAttribute('rel') == 'self'):
            self.assertEqual(link.getAttribute('href'), 'http://example.com/customfeedurl/')