[Zope-Checkins] CVS: Zope2 - testPathIndex.py:1.1.2.7

andreas@serenade.digicool.com andreas@serenade.digicool.com
Fri, 18 May 2001 14:11:20 -0400


Update of /cvs-repository/Zope2/lib/python/Products/PluginIndexes/tests
In directory serenade:/tmp/cvs-serv2768/tests

Modified Files:
      Tag: ajung-dropin-registry
	testPathIndex.py 
Log Message:
some more tests



--- Updated File testPathIndex.py in package Zope2 --
--- testPathIndex.py	2001/05/18 18:06:29	1.1.2.6
+++ testPathIndex.py	2001/05/18 18:11:20	1.1.2.7
@@ -197,8 +197,17 @@
         lst = list(res[0].keys())
         assert lst==[4,13],res
 
+
         res= self._index._apply_index( {"path":"/aa/cc","path_level":-1})
         lst = list(res[0].keys())
+        assert lst==[3,7,8,9,12],res
+
+
+        res= self._index._apply_index( {"path":"/bb/bb","path_level":-1})
+        lst = list(res[0].keys())
+        assert lst==[5,13,14,15],res
+
+
         
 def test_suite():
     return unittest.makeSuite( TestCase )