def test_get_gallery(self):
        self.gallery = GalleryFactory(slug='test-gallery')

        response = self.client.get('/sitemap.xml')
        self.assertContains(response,
                            '<url><loc>http://example.com/ptests/photo/landscape/</loc>'
                            '<lastmod>2011-12-23</lastmod></url>')
        self.assertContains(response,
                            '<url><loc>http://example.com/ptests/gallery/test-gallery/</loc>'
                            '<lastmod>2011-12-23</lastmod></url>')
if we add a gallery to the site, we should see both the gallery and
dataset/ETHPy150Open jdriscoll/django-photologue/photologue/tests/test_sitemap.py/SitemapTest.test_get_gallery