mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
more accurate code and tests
This commit is contained in:
parent
fc7af9e1c3
commit
01480a539f
2 changed files with 5 additions and 6 deletions
|
|
@ -225,11 +225,11 @@ class TestUtils(LoggedTestCase):
|
|||
self.assertEqual(
|
||||
utils.truncate_html_words('�', 20), '�')
|
||||
self.assertEqual(
|
||||
utils.truncate_html_words('&mdash', 20), '&mdash')
|
||||
utils.truncate_html_words('&mdash text', 20), '&mdash text')
|
||||
self.assertEqual(
|
||||
utils.truncate_html_words('Ӓ', 20), 'Ӓ')
|
||||
utils.truncate_html_words('Ӓ text', 20), 'Ӓ text')
|
||||
self.assertEqual(
|
||||
utils.truncate_html_words('઼', 20), '઼')
|
||||
utils.truncate_html_words('઼ text', 20), '઼ text')
|
||||
|
||||
def test_process_translations(self):
|
||||
fr_articles = []
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue