diff options
| author | Adam Johnson <me@adamj.eu> | 2025-04-15 14:24:12 +0100 |
|---|---|---|
| committer | Sarah Boyce <42296566+sarahboyce@users.noreply.github.com> | 2025-04-16 10:21:38 +0200 |
| commit | 6ef0f5bc272b316f0fd6fa706d7eaf8f1822faa4 (patch) | |
| tree | 499b867d39644712dd26643bbe1fa5a9da518248 /tests/sitemaps_tests | |
| parent | 494d2dc316fc1d849b6a1af97575d293f856a84c (diff) | |
Americanized some spellings.
Diffstat (limited to 'tests/sitemaps_tests')
| -rw-r--r-- | tests/sitemaps_tests/templates/custom_sitemap.xml | 2 | ||||
| -rw-r--r-- | tests/sitemaps_tests/templates/custom_sitemap_lastmod_index.xml | 2 | ||||
| -rw-r--r-- | tests/sitemaps_tests/test_http.py | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/tests/sitemaps_tests/templates/custom_sitemap.xml b/tests/sitemaps_tests/templates/custom_sitemap.xml index 594aef1a3e..f10f33023b 100644 --- a/tests/sitemaps_tests/templates/custom_sitemap.xml +++ b/tests/sitemaps_tests/templates/custom_sitemap.xml @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="UTF-8"?> -<!-- This is a customised template --> +<!-- This is a customized template --> <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"> {% spaceless %} {% for url in urlset %} diff --git a/tests/sitemaps_tests/templates/custom_sitemap_lastmod_index.xml b/tests/sitemaps_tests/templates/custom_sitemap_lastmod_index.xml index dcf5e32584..31a59b7460 100644 --- a/tests/sitemaps_tests/templates/custom_sitemap_lastmod_index.xml +++ b/tests/sitemaps_tests/templates/custom_sitemap_lastmod_index.xml @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="UTF-8"?> -<!-- This is a customised template --> +<!-- This is a customized template --> <sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"> {% spaceless %} {% for site in sitemaps %} diff --git a/tests/sitemaps_tests/test_http.py b/tests/sitemaps_tests/test_http.py index 6ae7e0d7c4..b62060c0c6 100644 --- a/tests/sitemaps_tests/test_http.py +++ b/tests/sitemaps_tests/test_http.py @@ -68,7 +68,7 @@ class HTTPSitemapTests(SitemapTestsBase): "A simple sitemap index can be rendered with a custom template" response = self.client.get("/simple/custom-lastmod-index.xml") expected_content = """<?xml version="1.0" encoding="UTF-8"?> -<!-- This is a customised template --> +<!-- This is a customized template --> <sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"> <sitemap><loc>%s/simple/sitemap-simple.xml</loc><lastmod>%s</lastmod></sitemap> </sitemapindex> @@ -140,7 +140,7 @@ class HTTPSitemapTests(SitemapTestsBase): "A simple sitemap can be rendered with a custom template" response = self.client.get("/simple/custom-sitemap.xml") expected_content = """<?xml version="1.0" encoding="UTF-8"?> -<!-- This is a customised template --> +<!-- This is a customized template --> <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"> <url><loc>%s/location/</loc><lastmod>%s</lastmod><changefreq>never</changefreq><priority>0.5</priority></url> </urlset> |
