[Zope-Checkins] CVS: Zope2 - testPathIndex.py:1.1.2.8
andreas@serenade.digicool.com
andreas@serenade.digicool.com
Fri, 18 May 2001 14:45:42 -0400
Update of /cvs-repository/Zope2/lib/python/Products/PluginIndexes/tests
In directory serenade:/tmp/cvs-serv2905/tests
Modified Files:
Tag: ajung-dropin-registry
testPathIndex.py
Log Message:
--- Updated File testPathIndex.py in package Zope2 --
--- testPathIndex.py 2001/05/18 18:11:20 1.1.2.7
+++ testPathIndex.py 2001/05/18 18:45:41 1.1.2.8
@@ -175,12 +175,10 @@
lst = list(res[0].keys())
assert lst==[10,11,12,13,14,15,16,17,18],res
-
res= self._index._apply_index( {"path":"bb","path_level":1})
lst = list(res[0].keys())
assert lst==[4,5,6,13,14,15],res
-
res= self._index._apply_index( {"path":"/bb/cc","path_level":0})
lst = list(res[0].keys())
assert lst==[16,17,18],res
@@ -196,7 +194,6 @@
res= self._index._apply_index( {"path":"/bb/aa","path_level":1})
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())