From 9f21e35100b022b31fe723323db85c2cb28b16b8 Mon Sep 17 00:00:00 2001 From: Alexey Opalev Date: Wed, 15 Feb 2017 14:36:18 +0500 Subject: Fixed #27842 -- Added protocol kwarg to GenericSitemap.__init__(). --- tests/sitemaps_tests/test_generic.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tests/sitemaps_tests') 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): -- cgit v1.3