def testSearchInterface(self): search = queryUtility(ISearch) self.failUnless(search, 'search utility not found') self.failUnless(ISearch.providedBy(search))
def testSearchInterface(self): search = queryUtility(ISearch) self.assertTrue(search, 'search utility not found') self.assertTrue(ISearch.providedBy(search))