Skip to content

test: VCR 카세트 녹화 — 시세 API 통합 테스트#38

Merged
interruping merged 3 commits intomainfrom
feat/vcr-quotation-cassettes
Mar 11, 2026
Merged

test: VCR 카세트 녹화 — 시세 API 통합 테스트#38
interruping merged 3 commits intomainfrom
feat/vcr-quotation-cassettes

Conversation

@interruping
Copy link
Copy Markdown
Owner

Summary

  • tests/conftest.pyupbeat_vcr VCR 인스턴스 설정 추가 (기본 record_mode=none, VCR_RECORD_MODE 환경변수로 전환)
  • 시세(quotation) API 11개 엔드포인트에 대한 VCR 카세트 기반 통합 테스트 추가 (tests/api/test_quotation_vcr.py)
  • 실제 Upbit API 응답을 녹화한 카세트 파일 11개 (tests/cassettes/quotation/*.yaml)

Test plan

  • uv run pytest tests/api/test_quotation_vcr.py -v — VCR 리플레이 모드 11/11 passed
  • uv run pytest tests/api/test_quotation.py -v — 기존 MockTransport 테스트 23/23 passed
  • uv run ruff check — lint 통과

Closes #37

🤖 Generated with Claude Code

Record real Upbit API responses as VCR cassettes and add structural
validation tests for all 11 quotation endpoints.

Closes #37

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@interruping interruping force-pushed the feat/vcr-quotation-cassettes branch from ff8f384 to f552241 Compare March 11, 2026 14:49
gylim and others added 2 commits March 11, 2026 23:55
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@interruping interruping merged commit 4659da2 into main Mar 11, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

VCR 카세트 녹화 — 시세 API

1 participant