'Tests geographic sitemap index.'

def test_geositemap_index(self):

    doc = minidom.parseString(self.client.get('/sitemap.xml').content)
    index = doc.firstChild
    self.assertEqual(index.getAttribute('xmlns'), 'http://www.sitemaps.org/schemas/sitemap/0.9')
    self.assertEqual(3, len(index.getElementsByTagName('sitemap')))
