def test_get_photo(self):
        response = self.client.get('/sitemap.xml')
        self.assertContains(response,
                            '<url><loc>http://example.com/ptests/photo/landscape/</loc>'
                            '<lastmod>2011-12-23</lastmod></url>')
Default test setup contains one photo, this should appear in the sitemap.
dataset/ETHPy150Open jdriscoll/django-photologue/photologue/tests/test_sitemap.py/SitemapTest.test_get_photo