Fix tests

This commit is contained in:
nicofrand 2018-01-18 13:27:22 +01:00
parent 07955af574
commit 771b140705

View File

@ -62,8 +62,8 @@ class TestTexts(unittest.TestCase):
Checks whitespaces are collapsed.
"""
self.assertEqual(
"avec ascenseur",
tools.normalize_string("avec ascenseur")
"avec ascenseur",
tools.normalize_string("avec ascenseur")
)
def test_accents(self):
@ -71,8 +71,8 @@ class TestTexts(unittest.TestCase):
Checks accents are replaced.
"""
self.assertEqual(
"éèêàüï",
tools.normalize_string("eeeaui")
"eeeaui",
tools.normalize_string(u"éèêàüï")
)
class TestPhoneNumbers(unittest.TestCase):