summaryrefslogtreecommitdiff
path: root/tests/sitemaps_tests/test_http.py
AgeCommit message (Collapse)Author
2020-09-14Fixed #31789 -- Added a new headers interface to HttpResponse.Tom Carrick
2020-07-29Fixed #27395 -- Added sitemap 'alternates' generation.Florian Demmer
Updated the sitemap generator and default template to optionally include link elements with hreflang attribute to alternate language URLs.
2020-07-29Refs #27395 -- Added XML namespace declaration to sitemap template.Carlton Gibson
As per Google recommendations: https://support.google.com/webmasters/answer/189077?hl=en
2020-05-25Improved HTTPSitemapTests.test_localized_priority.Claude Paroz
Override setting instead of skipping. Use translation override context manager to avoid language leaking.
2018-10-04Removed unnecessary skipUnless in HTTPSitemapTests.Jon Dufresne
contrib.sites is included in INSTALLED_APPS by SitemapTestsBase.
2017-07-29Used assertRaisesMessage() to test Django's error messages.Mads Jensen
2017-07-26Improved test coverage for django.contrib.sitemaps.Anton Samarchyan
2017-02-25Added tests for contrib.sitemaps.GenericSitemap.chex
2017-02-09Refs #23919 -- Removed default 'utf-8' argument for str.encode()/decode().Tim Graham
2017-01-20Refs #23919 -- Removed django.utils._os.upath()/npath()/abspathu() usage.Tim Graham
These functions do nothing on Python 3.
2017-01-18Refs #23919 -- Removed encoding preambles and future importsClaude Paroz
2016-11-10Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings.za
2016-06-08Fixed #26290 -- Warned that paginating an unordered QuerySet may result in ↵Emad Mokhtar
inconsistent results.
2016-01-29Refs #26022 -- Used context manager version of assertRaises in tests.Hasan
2016-01-28Refs #26015 -- Added regression test for an empty sitemap.Andrew Kuchev
2016-01-23Fixed #25989 -- Corrected sitemap's Last-Modified header to use the latest ↵Alexander Rudakov
lastmod of all sitemaps. Previously, the lastmod of the last sitemap was always used. All sitemaps are required to have a lastmod.
2015-09-23Refs #22384 -- Removed the ability to reverse URLs by dotted path per ↵Tim Graham
deprecation timeline.
2015-06-24Renamed RemovedInDjangoXYWarnings for new roadmap.Tim Graham
Forwardport of ae1d663b7913f6da233c55409c4973248372d302 from stable/1.8.x plus more.
2015-02-11Moved contrib.sitemaps tests out of contrib.Tim Graham