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:
committed by
Tim Graham
parent
81957086c1
commit
9f21e35100
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user