From 7e978fdc4228eb44cf97cb4243adc7b7bfd586c7 Mon Sep 17 00:00:00 2001 From: Hasan Ramezani Date: Thu, 24 Jan 2019 01:33:21 +0100 Subject: [PATCH] Completed test coverage for utils.text._replace_entity(). --- tests/utils_tests/test_text.py | 2 ++ 1 file changed, 2 insertions(+) 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'), ('&', '&'), + ('&am;', '&am;'), ('&', '&'), + ('&#xk;', '&#xk;'), ('&', '&'), ('foo & bar', 'foo & bar'), ('foo & bar', 'foo & bar'),