aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorTithen-Firion <tithen.firion.0@gmail.com>2017-04-28 18:05:14 +0200
committerTithen-Firion <tithen.firion.0@gmail.com>2017-04-28 18:05:14 +0200
commit9222d945107411ba657dab965fab63de8e8781b9 (patch)
tree160ee4a942b0f79db0028fc8a46f91e988d57c15 /test
parentedd9221cd22614b9d06f52b16bad278201fabd01 (diff)
downloadyoutube-dl-9222d945107411ba657dab965fab63de8e8781b9.zip
youtube-dl-9222d945107411ba657dab965fab63de8e8781b9.tar.gz
youtube-dl-9222d945107411ba657dab965fab63de8e8781b9.tar.bz2
[test_utils] Add one more clean_html test
Diffstat (limited to 'test')
-rw-r--r--test/test_utils.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/test_utils.py b/test/test_utils.py
index 4cd8188..9e1808e 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(