'Test that the item title and description can be overridden with
templates.'

def test_template_feed(self):

    response = self.client.get(u'/syndication/template/')
    doc = minidom.parseString(response.content)
    feed = doc.getElementsByTagName(u'rss')[0]
    chan = feed.getElementsByTagName(u'channel')[0]
    items = chan.getElementsByTagName(u'item')
    self.assertChildNodeContent(items[0], {u'title': u'Title    in    your    templates:    My    first    entry', u'description': u'Description    in    your    templates:    My    first    entry', u'link': u'http://example.com/blog/1/'})
