mirror of
https://github.com/getpelican/pelican.git
synced 2026-06-04 20:26:55 +02:00
Title slug
This commit is contained in:
parent
293e431366
commit
35a3742f21
1 changed files with 2 additions and 2 deletions
|
|
@ -156,12 +156,12 @@ class TestTemplateInheritance(LoggedTestCase):
|
|||
cat_file = os.path.join(self.temp_output, "category", "test.html")
|
||||
with open(cat_file) as f:
|
||||
cat_content = f.read()
|
||||
self.assertIn('title="test Category Atom Feed"', cat_content)
|
||||
self.assertIn('title="Test Category Atom Feed"', cat_content)
|
||||
|
||||
tag_file = os.path.join(self.temp_output, "tag", "foo.html")
|
||||
with open(tag_file) as f:
|
||||
tag_content = f.read()
|
||||
self.assertIn('title="foo Tag Atom Feed"', tag_content)
|
||||
self.assertIn('title="Foo Tag Atom Feed"', tag_content)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue