Exemplo n.º 1
0
 def testSolrInterface(self):
     proc = queryUtility(ISolrIndexQueueProcessor, name='solr')
     self.failUnless(proc, 'utility not found')
     self.failUnless(IIndexQueueProcessor.providedBy(proc))
     self.failUnless(ISolrIndexQueueProcessor.providedBy(proc))
 def testSolrInterface(self):
     proc = queryUtility(ISolrIndexQueueProcessor, name='solr')
     self.failUnless(proc, 'utility not found')
     self.failUnless(IIndexQueueProcessor.providedBy(proc))
     self.failUnless(ISolrIndexQueueProcessor.providedBy(proc))
Exemplo n.º 3
0
 def testGenericInterface(self):
     proc = queryUtility(IIndexQueueProcessor, name='solr')
     self.assertTrue(proc, 'utility not found')
     self.assertTrue(IIndexQueueProcessor.providedBy(proc))
     self.assertTrue(ISolrIndexQueueProcessor.providedBy(proc))
 def testGenericInterface(self):
     proc = queryUtility(IIndexQueueProcessor, name='solr')
     self.assertTrue(proc, 'utility not found')
     self.assertTrue(IIndexQueueProcessor.providedBy(proc))
     self.assertTrue(ISolrIndexQueueProcessor.providedBy(proc))
 def testGenericInterface(self):
     proc = queryUtility(IIndexQueueProcessor, name='zerocms')
     self.failUnless(proc, 'utility not found')
     self.failUnless(IIndexQueueProcessor.providedBy(proc))
     self.failUnless(IZeroCMSIndexQueueProcessor.providedBy(proc))