Fix Python test helper arguments

This commit is contained in:
isslower 2026-06-09 12:51:13 +08:00
parent d638015592
commit e7c240a8d9
2 changed files with 4 additions and 4 deletions

View File

@ -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

View File

@ -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