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