[Zope-Checkins] CVS: Zope/lib/python/Products/PluginIndexes/TextIndexNG/tests - testNormalizer.py:1.1.2.4

Andreas Jung andreas@digicool.com
Thu, 7 Feb 2002 10:15:11 -0500


Update of /cvs-repository/Zope/lib/python/Products/PluginIndexes/TextIndexNG/tests
In directory cvs.zope.org:/tmp/cvs-serv8185/tests

Modified Files:
      Tag: ajung-textindexng-branch
	testNormalizer.py 
Log Message:
updated


=== Zope/lib/python/Products/PluginIndexes/TextIndexNG/tests/testNormalizer.py 1.1.2.3 => 1.1.2.4 ===
 ##############################################################################
 
+__version__ = '$Id$'
+
 import sys, os, unittest
 
 from Products.PluginIndexes.TextIndexNG import normalizer
@@ -19,8 +21,12 @@
 class Tests(unittest.TestCase):
 
     norm = [
+            ('Ä','Ae'),
             ('ä','ae'),
             ('ö','oe'),
+            ('Ö','Oe'),
+            ('Ü','Ue'),
+            ('ü','ue'),
             ('ß','ss')
         ]
 
@@ -28,7 +34,8 @@
          'einen':'einen',
          'alle':'alle',
          'flugplätze':'flugplaetze',
-         'zerstört':'zerstoert',
+         'zerstÖrt':'zerstOert',
+         u'zerstört':u'zerstoert',
     }
 
     def setUp(self):
@@ -39,6 +46,7 @@
         """ testing single strings as argument """
 
         for word  in self.data.keys():
+
             self.assertEqual(
                 self.N.normalize(word),
                 self.data[word],