Browse Source

[test_utils] Add one more clean_html test

master-ytdl-org
Tithen-Firion 8 years ago
parent
commit
9222d94510
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      test/test_utils.py

+ 1
- 0
test/test_utils.py View File

@ -899,6 +899,7 @@ class TestUtil(unittest.TestCase):
def test_clean_html(self): def test_clean_html(self):
self.assertEqual(clean_html('a:\nb'), 'a: b') self.assertEqual(clean_html('a:\nb'), 'a: b')
self.assertEqual(clean_html('a:\n "b"'), '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): def test_intlist_to_bytes(self):
self.assertEqual( self.assertEqual(


Loading…
Cancel
Save