MCPcopy
hub / github.com/HKUDS/RAG-Anything / test_get_parser_rejects_unknown_parser

Function test_get_parser_rejects_unknown_parser

tests/testpaddleocr_parser.py:19–21  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

17
18
19def test_get_parser_rejects_unknown_parser():
20 with pytest.raises(ValueError, match="Unsupported parser type"):
21 get_parser("unknown-parser")
22
23
24def test_parser_module_import_does_not_import_paddleocr():

Callers

nothing calls this directly

Calls 1

get_parserFunction · 0.90

Tested by

no test coverage detected