()
| 358 | |
| 359 | |
| 360 | def test_extract_published_at_prefers_created_at(): |
| 361 | value = _extract_published_at( |
| 362 | { |
| 363 | "createdAt": "2025-01-01T00:00:00.000Z", |
| 364 | "lastModified": "2026-01-01T00:00:00.000Z", |
| 365 | } |
| 366 | ) |
| 367 | assert value == "2025-01-01T00:00:00.000Z" |
| 368 | |
| 369 | |
| 370 | def test_extract_published_at_falls_back_to_last_modified(): |
nothing calls this directly
no test coverage detected