MCPcopy
hub / github.com/impira/docquery / test_choosing_unavailable_ocr_reader

Function test_choosing_unavailable_ocr_reader

tests/test_ocr_reader.py:55–59  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

53 },
54)
55def test_choosing_unavailable_ocr_reader():
56 with pytest.raises(Exception) as e:
57 reader = get_ocr_reader("tesseract")
58 assert f"Failed to load: tesseract Please make sure its installed correctly." in str(e.value)
59 assert e.type == NoOCRReaderFound
60
61
62@patch(

Callers

nothing calls this directly

Calls 1

get_ocr_readerFunction · 0.90

Tested by

no test coverage detected