'A simple sitemap index can be rendered with a custom template'

def test_simple_sitemap_custom_index(self):

    response = self.client.get('/simple/custom-index.xml')
    self.assertEqual(response.content, ('<?xml    version="1.0"    encoding="UTF-8"?>\n<!--    This    is    a    customised    template    -->\n<sitemapindex    xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">\n<sitemap><loc>%s/simple/sitemap-simple.xml</loc></sitemap>\n</sitemapindex>\n' % self.base_url))
