[Zope-CVS] CVS: Products/PathIndexNG/tests - testPathIndexNG.py:1.2
Andreas Jung
andreas at andreas-jung.com
Sat Jan 24 11:48:51 EST 2004
Update of /cvs-repository/Products/PathIndexNG/tests
In directory cvs.zope.org:/tmp/cvs-serv2882/tests
Modified Files:
testPathIndexNG.py
Log Message:
added
=== Products/PathIndexNG/tests/testPathIndexNG.py 1.1 => 1.2 ===
--- Products/PathIndexNG/tests/testPathIndexNG.py:1.1 Sat Jan 24 11:01:13 2004
+++ Products/PathIndexNG/tests/testPathIndexNG.py Sat Jan 24 11:48:51 2004
@@ -64,7 +64,6 @@
self.assertEqual(self._index.numObjects() ,0)
self.assertEqual(self._index.getEntryForObject(1234), None)
self._index.unindex_object( 1234 ) # nothrow
- self.assertEqual(self._index._apply_index({"suxpath":"xxx"}), None)
def testUnIndex(self):
self._populateIndex()
@@ -86,6 +85,8 @@
self.assertEqual(self._index.numObjects(), 19)
self._index.index_object(19, o)
self.assertEqual(self._index.numObjects(), 19)
+ self._index.unindex_object(5)
+ self.assertEqual(self._index.numObjects(), 18)
def testUnIndexError(self):
More information about the Zope-CVS
mailing list