1cd3cf8830
test(packs-lab): DSM client mock 테스트 (login/share/logout 순서)
...
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-05-06 01:33:11 +09:00
c18fd8e52b
test(packs-lab): upload size/replay + delete soft-delete + list filter 회귀 테스트
...
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-05-06 01:30:46 +09:00
dc482b32e4
feat(packs-lab): POST /api/packs/admin/mint-token 라우트 + 통합 테스트
...
MintTokenRequest/Response 스키마 추가, mint_token 라우트 구현 (HMAC 인증 + 확장자 검증 + JTI 발급), 테스트 3건 추가.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-05-06 01:27:43 +09:00
ef026e7ac6
test(packs-lab): conftest로 HMAC secret 통일
...
모든 테스트에서 BACKEND_HMAC_SECRET 환경변수와 auth._SECRET 모듈 캐시를
동일한 값으로 설정하는 autouse fixture 추가.
기존 test_auth.py / test_routes.py와 동일한 secret 값 사용.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-05-06 01:24:17 +09:00
7a9690526a
test(packs-lab): routes 통합 테스트 (DSM·supabase mock)
2026-05-02 08:55:26 +09:00
7a7e3d1ce0
fix(packs-lab): 누락된 A1-A3 파일 복구 (Dockerfile + auth + DSM client + tests)
...
Tasks A1-A3 의 파일이 working tree에 있었으나 git에 stage되지 않은 상태에서
A4 commit이 진행되어 routes.py 의 import (auth, dsm_client)가 깨진 상태였음.
복구: 8 files 일괄 commit.
- packs-lab/Dockerfile
- packs-lab/app/__init__.py
- packs-lab/app/requirements.txt
- packs-lab/app/auth.py (HMAC verify_request_hmac + verify_upload_token)
- packs-lab/app/dsm_client.py (DSM 7.x Sharing.create wrapper)
- packs-lab/tests/{__init__.py, test_auth.py}
- packs-lab/pytest.ini
2026-05-02 08:53:26 +09:00