forked from github/pelican
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)
|
||||
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"""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue