2 import os, sys, unittest, lucene
5 baseDir = os.path.dirname(os.path.abspath(sys.argv[0]))
6 sys.path.append(baseDir)
8 import lia.searching.PrefixQueryTest
9 from lucene import System
11 System.setProperty("index.dir", os.path.join(baseDir, 'index'))
12 unittest.main(lia.searching.PrefixQueryTest)