def test_catalog(self): base = IAdapter(self.portal) self.assertEqual(base.catalog(), getToolByName(self.portal, 'portal_catalog'))