mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
Added an additional assert as requested
This commit is contained in:
parent
56c2abe613
commit
7f8726929b
1 changed files with 1 additions and 0 deletions
|
|
@ -110,6 +110,7 @@ class TestPage(LoggedTestCase):
|
||||||
page = Page(**page_kwargs)
|
page = Page(**page_kwargs)
|
||||||
self.assertEqual(page.summary, truncate_html_words(TEST_CONTENT, 10,
|
self.assertEqual(page.summary, truncate_html_words(TEST_CONTENT, 10,
|
||||||
'test_marker'))
|
'test_marker'))
|
||||||
|
self.assertIn('test_marker', page.summary)
|
||||||
|
|
||||||
def test_summary_get_summary_warning(self):
|
def test_summary_get_summary_warning(self):
|
||||||
"""calling ._get_summary() should issue a warning"""
|
"""calling ._get_summary() should issue a warning"""
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue