Module Import alias ImportFrom alias ImportFrom alias ImportFrom alias ClassDef bases NameLoad body Assign NameStore Str FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign AttributeStore NameLoad attr Call NameLoad keyword Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad Str decorator_list decorator_list Call AttributeLoad NameLoad attr CompareIn Str AttributeLoad NameLoad attr Str
N/A N/A unittest django.conf settings helpers PhotologueBaseTest factories GalleryFactory SitemapTest N/A PhotologueBaseTest N/A N/A urls photologue.tests.test_urls test_get_photo N/A N/A self N/A N/A N/A Default test setup contains one photo, this should appear in the sitemap. N/A response N/A N/A N/A self client get /sitemap.xml N/A N/A N/A self assertContains response <url><loc>http://example.com/ptests/photo/landscape/</loc><lastmod>2011-12-23</lastmod></url> N/A test_get_gallery N/A N/A self N/A N/A N/A if we add a gallery to the site, we should see both the gallery and
        the photo in the sitemap. N/A N/A self gallery N/A GalleryFactory slug test-gallery N/A response N/A N/A N/A self client get /sitemap.xml N/A N/A N/A self assertContains response <url><loc>http://example.com/ptests/photo/landscape/</loc><lastmod>2011-12-23</lastmod></url> N/A N/A N/A self assertContains response <url><loc>http://example.com/ptests/gallery/test-gallery/</loc><lastmod>2011-12-23</lastmod></url> N/A N/A N/A N/A unittest skipUnless N/A django.contrib.sitemaps N/A settings INSTALLED_APPS Sitemaps not installed in this project, nothing to test.