'Test that custom context data can be passed to templates for title
and description.'

def test_template_context_feed(self):

    response = self.client.get(u'/syndication/template_context/')
    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'My    first    entry    (foo    is    bar)', u'description': u'My    first    entry    (foo    is    bar)'})
