[Zope-Checkins] CVS: Zope/lib/python/Products/ZCTextIndex/tests -
	testZCTextIndex.py:1.37.24.1
    Tres Seaver 
    cvs-admin at zope.org
       
    Mon Nov 17 17:10:26 EST 2003
    
    
  
Update of /cvs-repository/Zope/lib/python/Products/ZCTextIndex/tests
In directory cvs.zope.org:/tmp/cvs-serv12097/lib/python/Products/ZCTextIndex/tests
Modified Files:
      Tag: tseaver-strexp_delenda-branch
	testZCTextIndex.py 
Log Message:
  - Rip string exceptins out by the root.
  - webdav/*:  clean up block statements for readability.
  - XXX:  Redirects are now showing up in the error log object;  need
          to filter!
=== Zope/lib/python/Products/ZCTextIndex/tests/testZCTextIndex.py 1.37 => 1.37.24.1 ===
--- Zope/lib/python/Products/ZCTextIndex/tests/testZCTextIndex.py:1.37	Thu Jun  5 15:43:55 2003
+++ Zope/lib/python/Products/ZCTextIndex/tests/testZCTextIndex.py	Mon Nov 17 17:09:56 2003
@@ -14,6 +14,7 @@
 
 from Interface.Verify import verifyClass
 import Acquisition
+from zExceptions import NotFound
 
 from Products.PluginIndexes.common.PluggableIndex import \
      PluggableIndexInterface
@@ -48,7 +49,7 @@
 def dummyUnrestrictedTraverse(self, path):
     if path == ('', 'lexicon',):
         return self.lexicon
-    raise 'NotFound', path
+    raise NotFound, path
 
 # The tests classes below create a ZCTextIndex().  Then they create
 # instance variables that point to the internal components used by
    
    
More information about the Zope-Checkins
mailing list