diff --git a/integrator/testsetup.py b/integrator/testsetup.py index f672a0e..bd94aef 100644 --- a/integrator/testsetup.py +++ b/integrator/testsetup.py @@ -1,7 +1,5 @@ """ Set up a loops site for testing. - -$Id$ """ import os @@ -43,8 +41,8 @@ class TestSite(BaseTestSite): component.provideUtility(fullPathStorage(), IExternalStorage, name='fullpath') catalog = component.getUtility(ICatalog) - catalog['loops_externalidentifier'] = FieldIndex('externalIdentifier', - IExternalSourceInfo, False) + #catalog['loops_externalidentifier'] = FieldIndex('externalIdentifier', + # IExternalSourceInfo, False) tType = concepts.getTypeConcept() tExtFile = addAndConfigureObject(concepts, Concept, 'extfile', diff --git a/tests/setup.py b/tests/setup.py index 04a9562..6262400 100644 --- a/tests/setup.py +++ b/tests/setup.py @@ -192,6 +192,8 @@ class TestSite(object): component.provideUtility(catalog, ICatalog) catalog['loops_title'] = TextIndex('title', IIndexAttributes, True) catalog['loops_text'] = TextIndex('text', IIndexAttributes, True) + catalog['loops_externalidentifier'] = FieldIndex( + 'externalIdentifier', IIndexAttributes, False) catalog['loops_identifier'] = FieldIndex('identifier', IIndexAttributes, True) catalog['loops_type'] = FieldIndex('tokenForSearch', IType, False) catalog['loops_keywords'] = KeywordIndex('keywords', IIndexAttributes, True)