mirror of
https://github.com/getpelican/pelican.git
synced 2026-06-01 23:06:54 +02:00
Update test_theme.py
This commit is contained in:
parent
0bb2d5cad1
commit
4defdcc095
1 changed files with 1 additions and 3 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue