Fix Python test helper arguments
This commit is contained in:
parent
d638015592
commit
e7c240a8d9
|
|
@ -49,7 +49,7 @@ def run_bench_test(db_path: str, src_path: str, cache_policy: str):
|
|||
# create the searcher
|
||||
searcher = None
|
||||
try:
|
||||
searcher = create_searcher(args.db, args.cache_policy)
|
||||
searcher = create_searcher(db_path, cache_policy)
|
||||
except Exception as e:
|
||||
print("failed to create searcher: {}".format(str(e)))
|
||||
return
|
||||
|
|
|
|||
|
|
@ -49,7 +49,7 @@ def run_search_test(db_path: str, cache_policy: str):
|
|||
# create the searcher
|
||||
searcher = None
|
||||
try:
|
||||
searcher = create_searcher(args.db, args.cache_policy)
|
||||
searcher = create_searcher(db_path, cache_policy)
|
||||
except Exception as e:
|
||||
print("failed to create searcher: {}".format(str(e)))
|
||||
return
|
||||
|
|
|
|||
Loading…
Reference in New Issue