'A simple i18n sitemap index can be rendered'

@override_settings(LANGUAGES=(('en', 'English'), ('pt', 'Portuguese')))
def test_simple_i18nsitemap_index(self):

    response = self.client.get('/simple/i18n.xml')
    expected_content = '<?xml    version="1.0"    encoding="UTF-8"?>\n<urlset    xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">\n<url><loc>{0}/en/i18n/testmodel/{1}/</loc><changefreq>never</changefreq><priority>0.5</priority></url><url><loc>{0}/pt/i18n/testmodel/{1}/</loc><changefreq>never</changefreq><priority>0.5</priority></url>\n</urlset>\n'.format(self.base_url, self.i18n_model.pk)
    self.assertXMLEqual(response.content.decode(), expected_content)
