Browse Source

Fixed unit test for normalized()

Alfio Puglisi 10 months ago
parent
commit
f0dfb0eb68
1 changed files with 4 additions and 4 deletions
  1. 4 4
      test/normalize_test.py

+ 4 - 4
test/normalize_test.py

@@ -1,19 +1,19 @@
 # -*- coding: utf-8 -*-
 
 import unittest
-from guietta.guietta import normalize
+from guietta.guietta import normalized
 
 
 class NormalizeTest(unittest.TestCase):
 
     def test_normal_chars(self):
         a = 'foobar'
-        assert normalize(a) == a
+        assert normalized(a) == a
 
     def test_normal_chars2(self):
         a = 'FooBar_123'
-        assert normalize(a) == a
+        assert normalized(a) == a
 
     def test_special_chars(self):
         a = 'Foo!Bar?-/4+`\\ 123:*'
-        assert normalize(a) == 'FooBar4123'
+        assert normalized(a) == 'FooBar4123'