add tests for code coverage for rapidocr

This commit is contained in:
David Morady
2025-09-15 14:22:55 +02:00
parent 1d37be4d11
commit af5df4bb30

View File

@@ -74,6 +74,16 @@ def test_e2e_conversions():
if sys.version_info < (3, 13):
engines.append((RapidOcrOptions(), False))
engines.append((RapidOcrOptions(force_full_page_ocr=True), False))
engines.append(
(
RapidOcrOptions(
force_full_page_ocr=True,
rec_font_path="test",
rapidocr_params={"rec_font_path": None},
),
False,
)
)
# only works on mac
if "darwin" == sys.platform: