MCPcopy Create free account
hub / github.com/xerrors/Yuxi / _raise_upload_error

Function _raise_upload_error

backend/test/unit/knowledge/test_parser_facade.py:133–134  ·  view source on GitHub ↗
(*args, **kwargs)

Source from the content-addressed store, hash-verified

131 return fake_result
132
133 def _raise_upload_error(*args, **kwargs):
134 raise RuntimeError("upload failed")
135
136 monkeypatch.setattr(parser_unified, "_get_docling_converter", lambda: FakeConverter())
137 monkeypatch.setattr(parser_unified, "_upload_image_to_minio", _raise_upload_error)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected