resolving tests error

This commit is contained in:
vahidrezanezhad 2025-07-23 16:44:17 +02:00
parent 32889ef1e0
commit da141bb42e

View file

@ -85,8 +85,8 @@ def test_run_eynollah_binarization_filename(tmp_path, subtests, pytestconfig, ca
outfile = tmp_path.joinpath('kant_aufklaerung_1784_0020.png') outfile = tmp_path.joinpath('kant_aufklaerung_1784_0020.png')
args = [ args = [
'-m', SBBBIN_MODELS, '-m', SBBBIN_MODELS,
str(infile), '-i', str(infile),
str(outfile), '-o', str(outfile),
] ]
caplog.set_level(logging.INFO) caplog.set_level(logging.INFO)
def only_eynollah(logrec): def only_eynollah(logrec):
@ -117,7 +117,7 @@ def test_run_eynollah_binarization_directory(tmp_path, subtests, pytestconfig, c
args = [ args = [
'-m', SBBBIN_MODELS, '-m', SBBBIN_MODELS,
'-di', str(indir), '-di', str(indir),
'-do', str(outdir), '-o', str(outdir),
] ]
caplog.set_level(logging.INFO) caplog.set_level(logging.INFO)
def only_eynollah(logrec): def only_eynollah(logrec):