def test_seed_counts(client): # 연락처(Person)는 유지: 핵심 5 + 메일 발신자 5 = 10 people = client.get("/api/people").json() assert len(people) == 10 core = {p["id"] for p in people} & {"jiwoo", "hyunwoo", "minseo", "jaeho", "sua"} assert len(core) == 5 tree = client.get("/api/tree").json() assert len(tree) == 2 # phase-16+: 작업 mock 시드 제거 → 빈 상태로 시작 work = client.get("/api/tasks?area=work").json() life = client.get("/api/tasks?area=life").json() assert len(work) + len(life) == 0 # 인박스 4건, s1 은 new (인박스는 범위 밖 — 유지) inbox = {i["id"]: i for i in client.get("/api/inbox").json()} assert set(inbox) == {"s1", "s2", "s3", "s4"} assert inbox["s1"]["status"] == "new" assert inbox["s1"]["classification"]["proj_label"] == "개인 › 여행 — 한국" def test_seed_person_color(client): people = {p["id"]: p for p in client.get("/api/people").json()} assert people["sua"]["color"] == "oklch(0.66 0.13 200)" assert people["jiwoo"]["is_me"] is True