update CLI test for binarization…

- update expected log messages
This commit is contained in:
Robert Sachunsky 2026-05-09 04:12:19 +02:00
parent 4cd398bd0d
commit 4406a0299e

View file

@ -22,7 +22,7 @@ def test_run_eynollah_binarization_filename(
'-o', str(outfile), '-o', str(outfile),
] + options, ] + options,
[ [
'Loaded model' f"output filename: '{str(outfile)}'"
] ]
) )
assert outfile.exists() assert outfile.exists()
@ -46,8 +46,8 @@ def test_run_eynollah_binarization_directory(
'-o', str(outdir), '-o', str(outdir),
], ],
[ [
f'Binarizing [ 1/2] {image_resources[0].name}', str(image_resources[0]),
f'Binarizing [ 2/2] {image_resources[1].name}', str(image_resources[1]),
] ]
) )
assert len(list(outdir.iterdir())) == 2 assert len(list(outdir.iterdir())) == 2