Sample Xiaohongshu comment data for testing
()
| 64 | |
| 65 | @pytest.fixture |
| 66 | def sample_xhs_comment(): |
| 67 | """Sample Xiaohongshu comment data for testing""" |
| 68 | return { |
| 69 | "comment_id": "comment_123", |
| 70 | "create_time": 1700000000, |
| 71 | "ip_location": "Beijing", |
| 72 | "note_id": "test_note_123", |
| 73 | "content": "This is a test comment", |
| 74 | "user_id": "user_456", |
| 75 | "nickname": "Comment User", |
| 76 | "avatar": "https://example.com/avatar2.jpg", |
| 77 | "sub_comment_count": 5, |
| 78 | "pictures": "", |
| 79 | "parent_comment_id": 0, |
| 80 | "like_count": 15 |
| 81 | } |
| 82 | |
| 83 | |
| 84 | @pytest.fixture |
nothing calls this directly
no outgoing calls
no test coverage detected