[Zope-CVS] CVS: Products/ZCTextIndex/tests - queryhtml.py:1.5 testPipelineFactory.py:1.3

Tim Peters tim.one@comcast.net
Thu, 23 May 2002 11:05:34 -0400


Update of /cvs-repository/Products/ZCTextIndex/tests
In directory cvs.zope.org:/tmp/cvs-serv17499/tests

Modified Files:
	queryhtml.py testPipelineFactory.py 
Log Message:
Whitespace normalization.


=== Products/ZCTextIndex/tests/queryhtml.py 1.4 => 1.5 ===
                         chooser.addmany(b.items())
                         results = chooser.getbest()
-                        
+
                 else:
                     try:
                         for _ in ITERS:


=== Products/ZCTextIndex/tests/testPipelineFactory.py 1.2 => 1.3 ===
 
 class NullPipelineElement:
-    
+
     __implements__ = IPipelineElement
-    
+
     def process(source):
-        pass    
+        pass
 
 class PipelineFactoryTest(TestCase):
-    
+
     def setUp(self):
         self.huey = NullPipelineElement()
         self.dooey = NullPipelineElement()
         self.louie = NullPipelineElement()
         self.daffy = NullPipelineElement()
-        
+
     def testPipeline(self):
         pf = PipelineElementFactory()
         pf.registerFactory('donald', 'huey', self.huey)
         pf.registerFactory('donald', 'dooey',  self.dooey)
         pf.registerFactory('donald', 'louie', self.louie)
         pf.registerFactory('looney', 'daffy', self.daffy)
-        self.assertRaises(ValueError, pf.registerFactory,'donald',  'huey', 
+        self.assertRaises(ValueError, pf.registerFactory,'donald',  'huey',
                           self.huey)
         self.assertEqual(pf.getFactoryGroups(), ['donald', 'looney'])
-        self.assertEqual(pf.getFactoryNames('donald'), 
+        self.assertEqual(pf.getFactoryNames('donald'),
                          ['dooey', 'huey', 'louie'])
-    
+
 def test_suite():
     return makeSuite(PipelineFactoryTest)