コード例 #1
0
 def testSearchInterface(self):
     search = queryUtility(ISearch)
     self.failUnless(search, 'search utility not found')
     self.failUnless(ISearch.providedBy(search))
コード例 #2
0
 def testSearchInterface(self):
     search = queryUtility(ISearch)
     self.assertTrue(search, 'search utility not found')
     self.assertTrue(ISearch.providedBy(search))
コード例 #3
0
 def testSearchInterface(self):
     search = queryUtility(ISearch)
     self.failUnless(search, 'search utility not found')
     self.failUnless(ISearch.providedBy(search))
コード例 #4
0
 def testSearchInterface(self):
     search = queryUtility(ISearch)
     self.assertTrue(search, 'search utility not found')
     self.assertTrue(ISearch.providedBy(search))