mirror of
https://github.com/django/django.git
synced 2025-11-25 21:22:14 +00:00
Fixed #27842 -- Added protocol kwarg to GenericSitemap.__init__().
This commit is contained in:
parent
81957086c1
commit
9f21e35100
4 changed files with 16 additions and 7 deletions
|
|
@ -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):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue