Update test_theme.py

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

View file

@ -164,9 +164,7 @@ class TestTemplateInheritance(LoggedTestCase):
pelican = Pelican(settings=settings)
mute(True)(pelican.run)()
with open(
os.path.join(self.temp_output, "no-category-article.html")
) as f:
with open(os.path.join(self.temp_output, "no-category-article.html")) as f:
content = f.read()
self.assertNotIn("Category:", content)