diff options
author | Alexey Opalev <levisolympus@gmail.com> | 2017-02-15 14:36:18 +0500 |
---|---|---|
committer | Tim Graham <timograham@gmail.com> | 2017-02-28 11:48:07 -0500 |
commit | 9f21e35100b022b31fe723323db85c2cb28b16b8 (patch) | |
tree | 337c522db02a3215797d394d01668e6d641d12d6 /tests/sitemaps_tests | |
parent | 81957086c187929a2a3de495087dcaef7bb339df (diff) | |
download | django-9f21e35100b022b31fe723323db85c2cb28b16b8.tar.gz |
Fixed #27842 -- Added protocol kwarg to GenericSitemap.__init__().
Diffstat (limited to 'tests/sitemaps_tests')
-rw-r--r-- | tests/sitemaps_tests/test_generic.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/sitemaps_tests/test_generic.py b/tests/sitemaps_tests/test_generic.py index 4f58006c86..9f8fa20924 100644 --- a/tests/sitemaps_tests/test_generic.py +++ b/tests/sitemaps_tests/test_generic.py @@ -20,11 +20,13 @@ class GenericViewsSitemapTests(SitemapTestsBase): }, priority=0.6, changefreq='monthly', + protocol='https', ) attr_values = ( ('date_field', datetime_value), ('priority', 0.6), ('changefreq', 'monthly'), + ('protocol', 'https'), ) for attr_name, expected_value in attr_values: with self.subTest(attr_name=attr_name): |