feat: Posted-Anniversary Dedup Store
This commit is contained in:
@@ -30,10 +30,9 @@ def _run_lines(buf: io.StringIO) -> list[dict]:
|
||||
|
||||
|
||||
def _seed_state(data_dir: Path, ids: list[str]) -> None:
|
||||
from tenbackward.state import save_posted
|
||||
from tenbackward.state import mark_posted_many
|
||||
|
||||
state = {pid: {"posted_at": "2024-01-01T00:00:00+00:00"} for pid in ids}
|
||||
save_posted(data_dir, state)
|
||||
mark_posted_many(list(ids), data_dir)
|
||||
|
||||
|
||||
def test_run_emits_one_info_summary_on_success(env_setup, data_dir, capture_logger, monkeypatch) -> None:
|
||||
|
||||
Reference in New Issue
Block a user