1
0
Fork 0
mirror of https://github.com/qurator-spk/dinglehopper.git synced 2025-07-01 06:29:59 +02:00

🧹 tests: Move comment out of the code (bad style + weird formatting)

This commit is contained in:
Mike Gerber 2024-04-04 19:46:08 +02:00
parent 32d4037533
commit edabffec7e

View file

@ -34,9 +34,8 @@ def test_ocrd_cli(tmp_path):
"-O",
"OCR-D-OCR-CALAMARI-EVAL",
]
sys.argv[1:] = (
args # XXX Hack to satisfy ocrd_cli_wrap_processor() check for arguments
)
# Hack to satisfy ocrd_cli_wrap_processor() check for arguments
sys.argv[1:] = args
result = runner.invoke(ocrd_dinglehopper, args)
assert result.exit_code == 0
result_json = list((test_workspace_dir / "OCR-D-OCR-CALAMARI-EVAL").glob("*.json"))