Exemplo n.º 1
0
def setup():
    global CLIENT
    index_assertions(ASSERTIONS_DIR, DB_PATH, input_shards=1, output_shards=1)
    configure_api(DB_PATH, ASSERTIONS_DIR, ASSOC_DIR, nshards=1)
    CLIENT = app.test_client()
Exemplo n.º 2
0
def setup():
    global CLIENT
    index_assertions(ASSERTIONS_DIR, DB_PATH, input_shards=1, output_shards=1)
    configure_api(DB_PATH, ASSERTIONS_DIR, ASSOC_DIR, nshards=1)
    CLIENT = app.test_client()
def setup():
    global FINDER
    index_assertions(ASSERTIONS_DIR, DB_PATH, input_shards=1, output_shards=1)
    FINDER = AssertionFinder(db_filename=DB_PATH, edge_dir=ASSERTIONS_DIR, nshards=1)