Ejemplo n.º 1
0
 def testIndexBadUri(self):
     try:
         indexer = IndexAppService(self._directory, self.shaManager)
         indexer.indexFOAFUri("http://www.frikier.org/noexiste.rdf")
         indexer.close()
     finally:
         indexer.close()
Ejemplo n.º 2
0
    def setUp(self):

        self._directory = RAMDirectory()
        self.shaManager = ShaManager(TESTDB)
        indexer = IndexAppService(self._directory, self.shaManager)
        indexer.indexFOAFUri(FRADEURI)
        indexer.indexFOAFUri(WIKIERURI)
        indexer.close()

        self._searcher = SearchAppService(self._directory, self.shaManager)