summaryrefslogtreecommitdiff
path: root/tests/utils_tests/test_text.py
diff options
context:
space:
mode:
authorHasan Ramezani <hasan.r67@gmail.com>2019-01-24 01:33:21 +0100
committerTim Graham <timograham@gmail.com>2019-01-23 19:33:21 -0500
commit7e978fdc4228eb44cf97cb4243adc7b7bfd586c7 (patch)
treef0b256ca68846f98f70764ab0f32343c99170f51 /tests/utils_tests/test_text.py
parent0ef997966955223086fa83df96169aa80dec48a4 (diff)
Completed test coverage for utils.text._replace_entity().
Diffstat (limited to 'tests/utils_tests/test_text.py')
-rw-r--r--tests/utils_tests/test_text.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/utils_tests/test_text.py b/tests/utils_tests/test_text.py
index 38e673a096..2d584c1cdd 100644
--- a/tests/utils_tests/test_text.py
+++ b/tests/utils_tests/test_text.py
@@ -189,7 +189,9 @@ class TestUtilsText(SimpleTestCase):
('', ''),
('foo', 'foo'),
('&amp;', '&'),
+ ('&am;', '&am;'),
('&#x26;', '&'),
+ ('&#xk;', '&#xk;'),
('&#38;', '&'),
('foo &amp; bar', 'foo & bar'),
('foo & bar', 'foo & bar'),