From 34765c39b2f51b794823df861fdc09bd48d99700 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Sat, 16 Dec 2017 12:25:28 +0100 Subject: [PATCH] theme: forgot to check against some test files. --- pelican-theme/test/test_blog.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pelican-theme/test/test_blog.py b/pelican-theme/test/test_blog.py index e56d6d2b..f1870c55 100644 --- a/pelican-theme/test/test_blog.py +++ b/pelican-theme/test/test_blog.py @@ -240,6 +240,9 @@ class HideSummaryArticle(BlogTestCase): self.assertEqual(*self.actual_expected_contents('article.html', '../blog_hide_summary_global/article.html')) self.assertEqual(*self.actual_expected_contents('article-jumbo.html', '../blog_hide_summary_global/article-jumbo.html')) + # Category (and other listing) has always just the summary + self.assertEqual(*self.actual_expected_contents('category-misc.html', '../blog_hide_summary_global/category-misc.html')) + class HideSummaryBoth(BlogTestCase): def __init__(self, *args, **kwargs): super().__init__(__file__, 'hide_summary_both', *args, **kwargs) @@ -258,6 +261,9 @@ class HideSummaryBoth(BlogTestCase): self.assertEqual(*self.actual_expected_contents('article.html')) self.assertEqual(*self.actual_expected_contents('article-jumbo.html')) + # Category (and other listing) has always just the summary + self.assertEqual(*self.actual_expected_contents('category-misc.html')) + class CollapseFirstGlobalHideSummaryGlobal(BlogTestCase): def __init__(self, *args, **kwargs): super().__init__(__file__, 'collapse_first_global_hide_summary_global', *args, **kwargs) -- 2.30.2