Back to index

plone3  3.1.7
Public Member Functions | Public Attributes
Archetypes.tests.test_index.ReindexTest Class Reference
Inheritance diagram for Archetypes.tests.test_index.ReindexTest:
Inheritance graph
Collaboration diagram for Archetypes.tests.test_index.ReindexTest:
Collaboration graph

List of all members.

Public Member Functions

def afterSetUp
def test_reindex_unindexes_old

Public Attributes


Detailed Description

Definition at line 74 of file

Member Function Documentation

Definition at line 76 of file

00077     def afterSetUp(self):
00078         self.setRoles(['Manager'])
00079         self.inst = makeContent(self.portal,
00080                                 portal_type='SimpleType',
00081                                 id='simple_type')
00082         self.ct = getToolByName(self.portal, 'portal_catalog')

Here is the call graph for this function:

Definition at line 83 of file

00084     def test_reindex_unindexes_old(self):
00085         ct = self.ct
00086         self.assertEquals(len(ct(SearchableText='Mosquito')), 0)
00087         self.inst.edit(title='Mosquito')
00088         self.assertEquals(len(ct(SearchableText='Mosquito')), 1)
00089         self.inst.edit(title='Libido')
00090         self.assertEquals(len(ct(SearchableText='Mosquito')), 0)

Member Data Documentation

Definition at line 81 of file

Definition at line 78 of file

The documentation for this class was generated from the following file: