MCPcopy Create free account
hub / github.com/OpenRaiser/PaperFlow / fake_create_doc

Function fake_create_doc

experiments/tests/test_reading_report_flow.py:42–47  ·  view source on GitHub ↗
(title, content, folder_id=None)

Source from the content-addressed store, hash-verified

40 create_doc_calls = []
41
42 def fake_create_doc(title, content, folder_id=None):
43 create_doc_calls.append({"title": title, "content": content, "folder_id": folder_id})
44 return {
45 "url": f"https://example.feishu.cn/docx/{len(create_doc_calls)}",
46 "obj_token": f"doc_{len(create_doc_calls)}",
47 }
48
49 monkeypatch.setattr(reading_agent, "send_text", fake_send_text)
50 monkeypatch.setattr(reading_agent, "create_doc", fake_create_doc)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected