示例历史记录
()
| 60 | |
| 61 | @pytest.fixture |
| 62 | def sample_history_record(): |
| 63 | """示例历史记录""" |
| 64 | return { |
| 65 | "id": "test-record-001", |
| 66 | "title": "测试记录标题", |
| 67 | "status": "completed", |
| 68 | "outline": { |
| 69 | "raw": "原始大纲", |
| 70 | "pages": [ |
| 71 | {"index": 0, "type": "cover", "content": "封面内容"} |
| 72 | ] |
| 73 | }, |
| 74 | "images": { |
| 75 | "task_id": "task_12345678", |
| 76 | "generated": ["0.png"] |
| 77 | }, |
| 78 | "created_at": "2025-01-01T00:00:00", |
| 79 | "updated_at": "2025-01-01T00:00:00" |
| 80 | } |
nothing calls this directly
no outgoing calls
no test coverage detected