tests: more path fixes

This commit is contained in:
kba 2025-11-13 12:21:48 +01:00
parent 9aeff6d155
commit b34329dd61
2 changed files with 2 additions and 2 deletions

View file

@ -13,7 +13,7 @@ def test_run_eynollah_binarization_filename(
resources_dir, resources_dir,
options, options,
): ):
infile = resources_dir / '/2files/kant_aufklaerung_1784_0020.tif' infile = resources_dir / '2files/kant_aufklaerung_1784_0020.tif'
outfile = tmp_path / 'kant_aufklaerung_1784_0020.png' outfile = tmp_path / 'kant_aufklaerung_1784_0020.png'
run_eynollah_ok_and_check_logs( run_eynollah_ok_and_check_logs(
'binarization', 'binarization',

View file

@ -18,7 +18,7 @@ def resources_dir(tests_dir):
@pytest.fixture() @pytest.fixture()
def image_resources(resources_dir): def image_resources(resources_dir):
return [Path(x) for x in glob(str(resources_dir / '*.tif'))] return [Path(x) for x in glob(str(resources_dir / '2files/*.tif'))]
@pytest.fixture() @pytest.fixture()
def eynollah_log_filter(): def eynollah_log_filter():