test: deps.get_session 회귀 + /api/watchlist 통합 테스트 (#19) #24
No reviewers
Labels
No labels
api
bug
chore
collector
decision-needed
docs
enhancement
feature
feedback-loop
frontend
infra
skill
test
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
xhh/financial-data-platform!24
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "issue-19-deps-regression-test"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
요약
PR #17 에서 발견된 deps.get_session 의 commit 누락 잠복 버그 재발을 막는 회귀 테스트. 동시에 /api/watchlist 라우터의 주요 동작(CRUD, 필터, idempotent delete, 404)을 커버.
핵심
test_post_then_get_persists— POST 후 별도 요청으로 GET 을 수행. 빨간불이면 즉시 deps.get_session commit 회귀를 의심하도록 본문 주석에 명시.결과
uv run pytest→ 13 passed (smoke 3 + watchlist 10).관례
이후 mutation 포함 라우터(Reports #2, Collect #4, Coverage #21 등) 작성 시 "POST 후 별도 요청 GET persist" 케이스를 최소 1건 포함할 것을 커밋 메시지에 명시.
Closes #19