MCPcopy Index your code
hub / github.com/RapidAI/RapidOCR / test_invalid_init_parameters

Function test_invalid_init_parameters

python/tests/test_input.py:135–139  ·  view source on GitHub ↗
(params)

Source from the content-addressed store, hash-verified

133
134@mark.parametrize("params", [{"text_score": 0.5}, {"Global": 0.5}, {"Unknown.key": 1}])
135def test_invalid_init_parameters(params):
136 cfg = ParseParams.load(config_path)
137
138 with pytest.raises(ValueError):
139 ParseParams.update_batch(cfg, params)
140
141
142def test_nested_init_parameters():

Callers

nothing calls this directly

Calls 2

loadMethod · 0.80
update_batchMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…