[Zope3-checkins] CVS: Zope3/lib/python/Zope/App/index/text/tests - test_index.py:1.7
Benjamin Saller
bcsaller@yahoo.com
Thu, 5 Dec 2002 08:50:31 -0500
Update of /cvs-repository/Zope3/lib/python/Zope/App/index/text/tests
In directory cvs.zope.org:/tmp/cvs-serv2580
Modified Files:
test_index.py
Log Message:
resolved small conflict in test case layout
=== Zope3/lib/python/Zope/App/index/text/tests/test_index.py 1.6 => 1.7 ===
--- Zope3/lib/python/Zope/App/index/text/tests/test_index.py:1.6 Thu Dec 5 04:53:37 2002
+++ Zope3/lib/python/Zope/App/index/text/tests/test_index.py Thu Dec 5 08:50:30 2002
@@ -94,7 +94,6 @@
self.assertAbsent(Sheila)
def testNotIndexing(self):
-
docid = 1000
self.object.texts = None
event = ObjectRegisteredHubEvent(None, docid, object=self.object)
@@ -102,6 +101,7 @@
self.assertEqual(self.index.documentCount(), 0)
+
def testHubMachinery(self):
# Technically this is a functional test
hub = ObjectHub()
@@ -147,6 +147,9 @@
hub.notify(event)
self.assertPresent(Bruce, hubid)
self.assertAbsent(Sheila)
+
+
+
def test_suite():
return makeSuite(Test)