(title, content, folder_id=None)
| 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) |
nothing calls this directly
no outgoing calls
no test coverage detected