[utils] Decode HTML5 entities
Used in test_Vporn_1. Also related to #9270
This commit is contained in:
parent
9631a94fb5
commit
55b2f099c0
2 changed files with 12 additions and 2 deletions
|
@ -249,6 +249,8 @@ class TestUtil(unittest.TestCase):
|
|||
self.assertEqual(unescapeHTML('/'), '/')
|
||||
self.assertEqual(unescapeHTML('é'), 'é')
|
||||
self.assertEqual(unescapeHTML('�'), '�')
|
||||
# HTML5 entities
|
||||
self.assertEqual(unescapeHTML('.''), '.\'')
|
||||
|
||||
def test_date_from_str(self):
|
||||
self.assertEqual(date_from_str('yesterday'), date_from_str('now-1day'))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue