legco_ai_assistant/backend/app/test/acceptance
Woody cee859d5d7 feat: Phase 3.6 — integration + acceptance tests for YouTube proxy
- test_integration_phase3.py: 6 tests
  Extract→proxy flow (VOD manifest, VOD segment, live manifest),
  cache hit bypasses yt-dlp, upstream 404→502, extract disabled→503
  Mocked yt-dlp, real FastAPI TestClient + HLSProxyService
- test_acceptance_phase3_youtube.py: 3 tests
  Real YouTube VOD extraction, manifest proxy, segment proxy
  Follows master→variant→segment chain, verifies MPEG-TS sync byte
- test_acceptance_phase3_live.py: 3 tests
  Real live stream extraction, no #EXT-X-ENDLIST assertion,
  cache refresh verification, graceful skip when offline
- 201/201 CI pass (234 backend Phase 1-3, zero Phase 3 regressions)
- Updated plan: 3.6 Complete, 6/7 sub-phases done
2026-05-09 17:18:55 +08:00
..
test_acceptance_phase1_ingest.py feat: Phase 1.4 acceptance tests, error handling, and polish 2026-04-22 17:45:50 +08:00
test_acceptance_phase1_llm_client.py feat: Phase 1.2 ingestion pipeline with chunking and metadata 2026-04-22 16:49:52 +08:00
test_acceptance_phase1_rag_query.py test(backend): update Phase 1 test suite 2026-04-23 13:27:40 +08:00
test_acceptance_phase2_asr.py fix: Phase 2 ASR pipeline — 9 bugs resolved, Full Transcript works end-to-end 2026-05-06 18:26:17 +08:00
test_acceptance_phase2_video.py fix: Phase 2 ASR pipeline — 9 bugs resolved, Full Transcript works end-to-end 2026-05-06 18:26:17 +08:00
test_acceptance_phase3_live.py feat: Phase 3.6 — integration + acceptance tests for YouTube proxy 2026-05-09 17:18:55 +08:00
test_acceptance_phase3_youtube.py feat: Phase 3.6 — integration + acceptance tests for YouTube proxy 2026-05-09 17:18:55 +08:00
test_acceptance_phase6_dp_decompose.py feat: add LLMClientDP for Deepseek decompose (Phase 6) 2026-05-04 14:58:53 +08:00
test_integration_phase1.py docs: add sub-phase development rules and acceptance test structure 2026-04-22 15:27:31 +08:00
test_integration_phase2.py fix: Phase 2 ASR pipeline — 9 bugs resolved, Full Transcript works end-to-end 2026-05-06 18:26:17 +08:00
test_phase4_acceptance_query.py test(backend): add Phase 4 integration and acceptance tests 2026-04-26 23:29:09 +08:00