don't fail test if portal_atct is missing

This commit is contained in:
David Glick 2013-11-15 00:11:13 -08:00
parent 654869a30d
commit 7cfbd20d72

View File

@ -48,6 +48,8 @@ class CatalogSetupTest(unittest.TestCase):
)
def test_collection_criteria_installed(self):
if 'portal_atct' not in self.portal:
return
try:
self.portal.portal_atct.getIndex('commentators')
self.portal.portal_atct.getIndex('total_comments')