diff options
author | Tithen-Firion <tithen.firion.0@gmail.com> | 2017-04-28 18:05:14 +0200 |
---|---|---|
committer | Tithen-Firion <tithen.firion.0@gmail.com> | 2017-04-28 18:05:14 +0200 |
commit | 9222d945107411ba657dab965fab63de8e8781b9 (patch) | |
tree | 160ee4a942b0f79db0028fc8a46f91e988d57c15 /test/test_utils.py | |
parent | edd9221cd22614b9d06f52b16bad278201fabd01 (diff) |
[test_utils] Add one more clean_html test
Diffstat (limited to 'test/test_utils.py')
-rw-r--r-- | test/test_utils.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/test_utils.py b/test/test_utils.py index 4cd818850..9e1808e6b 100644 --- a/test/test_utils.py +++ b/test/test_utils.py @@ -899,6 +899,7 @@ class TestUtil(unittest.TestCase): def test_clean_html(self): self.assertEqual(clean_html('a:\nb'), 'a: b') self.assertEqual(clean_html('a:\n "b"'), 'a: "b"') + self.assertEqual(clean_html('a<br>\xa0b'), 'a\nb') def test_intlist_to_bytes(self): self.assertEqual( |