[Zope3-checkins] SVN: Zope3/trunk/src/zope/app/catalog/tests.py Add missing cleanup to unit zope.app.catalog unit tests.

Marius Gedminas marius at pov.lt
Sat Jan 20 07:24:12 EST 2007


Log message for revision 72122:
  Add missing cleanup to unit zope.app.catalog unit tests.
  
  

Changed:
  U   Zope3/trunk/src/zope/app/catalog/tests.py

-=-
Modified: Zope3/trunk/src/zope/app/catalog/tests.py
===================================================================
--- Zope3/trunk/src/zope/app/catalog/tests.py	2007-01-20 11:51:12 UTC (rev 72121)
+++ Zope3/trunk/src/zope/app/catalog/tests.py	2007-01-20 12:24:06 UTC (rev 72122)
@@ -345,11 +345,11 @@
         names = sorted([ob.__name__ for i, ob in index.doc.items()])
         self.assertEqual(names, [u'folder1_1', u'folder1_1_1', u'folder1_1_2'])
 
-class TestCatalogBugs(unittest.TestCase):
+class TestCatalogBugs(placelesssetup.PlacelessSetup, unittest.TestCase):
     """I found that z.a.catalog, AttributeIndex failed to remove the previous
     value/object from the index IF the NEW value is None.
     """
-    
+
     def test_updateIndexWithNone(self):
         uidutil = IntIdsStub()
         ztapi.provideUtility(IIntIds, uidutil)
@@ -409,7 +409,7 @@
     def getAuthor(self):
         return self.author
 
-class TestIndexRaisingValueGetter(unittest.TestCase):
+class TestIndexRaisingValueGetter(placelesssetup.PlacelessSetup, unittest.TestCase):
     """ """
     def test_IndexRaisingValueGetter(self):
         """We can have indexes whose values are determined by callable



More information about the Zope3-Checkins mailing list