summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author(GalaxyMaster) <galaxy4public@users.noreply.github.com>2020-04-12 05:18:29 +1000
committer(GalaxyMaster) <galaxy4public@users.noreply.github.com>2020-04-12 05:18:29 +1000
commit7f8726929ba4aa9cdf1276fe7c8394e03d0df9ba (patch)
treed75ff95cf3d237e57de9a1dcd2d0ca6cdf62b44f
parent56c2abe61351f520581fc70ccc8b3c4aecd38f6d (diff)
downloadpelican-7f8726929ba4aa9cdf1276fe7c8394e03d0df9ba.tar.gz
Added an additional assert as requested
-rw-r--r--pelican/tests/test_contents.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/pelican/tests/test_contents.py b/pelican/tests/test_contents.py
index 0ac69f8d..08d4eb73 100644
--- a/pelican/tests/test_contents.py
+++ b/pelican/tests/test_contents.py
@@ -110,6 +110,7 @@ class TestPage(LoggedTestCase):
page = Page(**page_kwargs)
self.assertEqual(page.summary, truncate_html_words(TEST_CONTENT, 10,
'test_marker'))
+ self.assertIn('test_marker', page.summary)
def test_summary_get_summary_warning(self):
"""calling ._get_summary() should issue a warning"""