1
0
Fork 0
mirror of https://github.com/qurator-spk/dinglehopper.git synced 2025-06-09 11:50:00 +02:00

🐛 dinglehopper: Fix test_ocrd_cli for Python 3.5, again, and again

This commit is contained in:
Gerber, Mike 2019-10-28 15:05:08 +01:00
parent 7cf1a540f4
commit 680c2a2661

View file

@ -45,5 +45,5 @@ def test_ocrd_cli(tmp_path):
'-O', 'OCR-D-OCR-CALAMARI-EVAL'
])
assert result.exit_code == 0
result_json = list((Path(test_workspace_dir) / 'OCR-D-OCR-CALAMARI-EVAL').glob('*.json'))
result_json = list((test_workspace_dir / 'OCR-D-OCR-CALAMARI-EVAL').glob('*.json'))
assert json.load(open(str(result_json[0])))['cer'] < 0.03