From b14f7e9c0969134818564b225b6086d5e8c86763 Mon Sep 17 00:00:00 2001 From: Akshay S Dinesh Date: Sat, 17 Feb 2024 22:27:50 +0530 Subject: [PATCH] fix: tests referencing old names --- libindic/payyans/tests/test_payyans.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libindic/payyans/tests/test_payyans.py b/libindic/payyans/tests/test_payyans.py index c204978..3bf230d 100644 --- a/libindic/payyans/tests/test_payyans.py +++ b/libindic/payyans/tests/test_payyans.py @@ -15,14 +15,14 @@ def setUp(self): def test_ascii2unicode(self): self.assertEqual( self.payyans.ASCII2Unicode( - "aebmfw", "ambili"), u"മലയാളം") + "aebmfw", "ML-TTAmbili"), u"മലയാളം") def test_unicode2ascii(self): - self.assertEqual(self.payyans.Unicode2ASCII("മലയാളം", "ambili"), "aebmfw") + self.assertEqual(self.payyans.Unicode2ASCII("മലയാളം", "ML-TTAmbili"), "aebmfw") def test_double_swaras(self): inputs = ["ss{U", "t{]aw", "kvss{XWX"] expected = ["ഡ്രൈ", "പ്രേമം", "സ്ത്രൈണത"] for i in range(len(inputs)): - actual = self.payyans.ASCII2Unicode(inputs[i], "karthika") + actual = self.payyans.ASCII2Unicode(inputs[i], "ML-TTKarthika") self.assertEqual(actual, expected[i])