mirror of
https://github.com/pewdiepie-archdaemon/odysseus.git
synced 2026-06-16 17:55:26 -04:00
Scope vision model resolution by owner (#3009)
This commit is contained in:
@@ -35,7 +35,7 @@ def test_pdf_body_marker_stripped_without_eating_text(monkeypatch, tmp_path):
|
||||
|
||||
# Shape _process_pdf actually returns: marker, then a page-text marker, then body.
|
||||
raw = "\n\n[PDF content]:\n\n[Page 1 text]:\nto the board, the agenda is set"
|
||||
monkeypatch.setattr(dp, "_process_pdf", lambda path: raw)
|
||||
monkeypatch.setattr(dp, "_process_pdf", lambda path, owner=None: raw)
|
||||
monkeypatch.setattr(pdf_forms, "has_form_fields", lambda path: False)
|
||||
monkeypatch.setattr(pdf_form_doc, "create_plain_pdf_document", lambda **kw: "doc-123")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user