mirror of
https://github.com/qurator-spk/eynollah.git
synced 2026-07-26 05:29:16 +02:00
ocr: ensure forked logging handlers also work under pytest
This commit is contained in:
parent
79a9bb0128
commit
4f7c5675fc
3 changed files with 11 additions and 6 deletions
|
|
@ -30,7 +30,7 @@ def test_run_eynollah_ocr_filename(
|
|||
'-o', str(outfile.parent),
|
||||
] + options,
|
||||
[
|
||||
'output filename:'
|
||||
str(infile)
|
||||
]
|
||||
)
|
||||
assert outfile.exists()
|
||||
|
|
@ -57,7 +57,8 @@ def test_run_eynollah_ocr_directory(
|
|||
'-o', str(outdir),
|
||||
],
|
||||
[
|
||||
'output filename:'
|
||||
'Job done in',
|
||||
'All jobs done in',
|
||||
]
|
||||
)
|
||||
assert len(list(outdir.iterdir())) == 2
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue