Title slug

This commit is contained in:
Sam Bull 2026-04-13 13:08:42 +01:00 committed by GitHub
commit 35a3742f21
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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__":