1
0
mirror of https://github.com/django/django.git synced 2025-10-24 22:26:08 +00:00

Fixed #27842 -- Added protocol kwarg to GenericSitemap.__init__().

This commit is contained in:
Alexey Opalev
2017-02-15 14:36:18 +05:00
committed by Tim Graham
parent 81957086c1
commit 9f21e35100
4 changed files with 16 additions and 7 deletions

View File

@@ -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):